Simple notepad java Source Code project, notepad java source code
The Code is as follows:
Import java. awt. *; import java. io. *; import java. awt. datatransfer. *; import java. awt. event. *; public class Main extends Frame implements ActionListener {private static final long serialVersionUID = 1L; TextArea textArea = new TextArea (); MenuBar menuBar = new MenuBar (); menu fileMenu = new Menu ("File"); Me
Change Windows notepad (notepad) default encoding for Unicode or UTF-8 method Windows notepad default encoding ANSI cannot meet Linuxer, each time you have to "save as" and then select the encoding method. Find a solution as follows: 1. Create a txt file without entering any content. Then save as, change the encoding from the default ANSI to Unicode or UTF-8, and
Simple notepad, simple notepad camera
public partial class Form2 : Form { public Form2() { InitializeComponent(); } private Form1 jishiben; public Form2(Form1 f) { InitializeComponent(); jishiben = f; } public int index = -1; private void cha_Click(object sender, EventArgs e) { string mubiao
1. Under the Standby page, click "Application".2. Select "Projector".3. Click "Notepad".4. You can now appear in the Notepad menu bar, as shown below:5. If you want to use the tag function, click on the "pen" icon.6. The contents marked in the mobile phone screen can also be displayed by projection, as shown below:
Good article introduced a very detailed and interested students can not enter into the refer
Front-end notepad, fixed front-end notepad
1. When rem is the unit, the font-size of the root element html must be greater than or equal to 12px; otherwise, the default value is font-size: 12px.
In addition, many friends asked me: Why?HtmlIf it is set to 62.5% or 10px, this conversion is invalid? After research, we found that we do not know when to start. rem, which is smaller than 12px or 75%, does not s
Notepad ++ and notepad
Edit
Revoke Ctrl + Z
Restore Ctrl + Y
Column Editing: Alt + C
Indent Tab
Delete indent Shift + Tab
Convert to uppercase Crtl + Shift + U
Convert to lower case Ctrl + U
Copy the current line Crtl + D
Delete the current row Ctrl + L
Split row Ctrl + I
Merge rows Ctrl + J
Move the current row upCtrl + Shift + UpMove down the current rowCtrl + Shift + Down
Add/delete a single row commen
The missing notepad.exesoftware provided by the system can be used to provide more powerful functions such as notepad2.exe.
ProgramTo replace the notepad.exetoken of the system. However, after replacing the original notepad.exewith notepad2.exe, the system will automatically restore it to a previous file. How can we forcibly replace it?
In WINXP/2003:
First, download the original version of notepad.exe.
Step 1: replace notepad.exe in c: \ windows \ system32 \ dllcache.Step 2: replace notep
Today to introduce you about how to implement Notepad in Java, is a very good case of learning Java Swing, the following first look at the results of the operation (download the address below):
Here we look at the source code:
[java] View Plain copy importjava.awt.*; importjava.awt.event.*; importjava.text.*; importjava.util.*; import java.io.*; importjavax.swing.undo.*; import javax.swing.border.*; importjavax.swing.*; import javax.swing.text.*; i
The notepad ++ notebook downloaded from the Internet, but it is not convenient to use it in the right-click menu. This article uses three methods to register the right-click menu function for notepad ++. They only have a slight difference:
Method 1:Create a reg file as follows, copy the following content and replace the relevant path, save it, and double-click it to add it to the Registry.
Windows Registry
Simple use Notepad to remove the Thunderbolt 5 advertising method
Free to do nothing, the next 5 Green Lite version, found that the ads are still, so where to find ads,
Using the resource analysis software to find that the main program does not seem to be found in the installation directory, and finally,
See a file some suspicious, open a look, sure enough ~! haha! Go to the ad!
Use Notepad to open the
The coding methods and problems of win, PY, notepad++ first to say the conclusion:
Because the default encoding used by Win CMD is GBK (ANSI), if it encounters bat or Python's Chinese needs to be displayed in cmd, if garbled, first check whether because it is not 1. GBK encoded in Chinese or 2. is converted to GBK encoding or 3 in code. In Python code, it is a Unicode object .
do not in win under the text document editor with your own utf
1. Install Python
1 Downloads
I chose the 32-bit version of 2.7. Https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi
2. Installation
Installation can be modified to modify the installation path to the D drive, and then note that the last item "Configuration environment variable" can be checked (default is not selected), so that you do not have to manually configure environment variables.
2. Configure notepad
Where's the Notepad?
Notepad is also a book in our lives, recording some things, some personal feelings and so on. Notepad can only enter plain text and cannot save pictures and a specific other format. Notepad is formatted as a TXT format file. For example, we copy the contents of some Web pages to
Original: notepad++ configuration supports jquery, HTML, CSS, JavaScript, PHP code hintsOfficial website Download: http://notepad-plus-plus.org/Get plug-in method: Open the Software, the window toolbar has a question mark, point to get plug-ins.The plugins I use (the installation method is the official method):Quicktext.v0.2.1.zip//custom abbreviation, press the shortcut key after the output defines the cod
Failure Analysis: There are many reasons why Notepad cannot be opened. This includes your computer's font library is not sufficient, through Notepad to open and save the coding is incorrect, software failures and compatibility issues. It is also possible not to be software or man-made changes, and so on. Therefore, according to the specific situation to analyze Notepad
1, skillfully use notepad++ automatic complement function
menu → settings → preferences → backup and autocomplete
Where: automatic completion of the function will prompt the completion of the various language keywords; Word autocomplete is also good to prompt you in the context of the words used, more intelligent; personal prefer to turn on function AutoComplete (memory difference), with CTRL + Enter shortcut keys (shortcut keys can be modified) tempo
To use Python to extend notepad++, you first need to install the Python script plugin for notepad++, and the notepad++ plugin installation method can refer to here.After installing the Python script plugin, you will see the Python script menu under the Plugins menu.Python Script IntroductionClick the Plugins->python script->new Script menu to open the directory w
Content: This article discusses how to automatically add logs to the end of the document and determine them in the notes written in VB.
Save
Or save as, confirm whether the file needs to be saved, and so on.
Windows built-in
Notepad
That is, notepad has some attractive functions, such as automatically adding a computer clock at the end of a specific document.
Time
And the date to intercept the
1.4. Plugins commonly used in notepad++1.4.1. Plugin Manager: Plugin ManagerPlugin Features: This plugin can help you manage plugins, including viewing what plugins are currently installed, and automatically downloading the appropriate plugins for you.
Plug-in usage: mainly used to manage (install and uninstall) plugins
Plug-in installation: During the installation process, the default is selected to install this plugin: Figure 2.2 "
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.