文件名称:JAVA记事本源码
文件大小:13KB
文件格式:TXT
更新时间:2017-03-26 13:49:05
JAVA源码
WIN记事本,JAVA源码,import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.io.*; public class Notepad extends JFrame { // 系统组件声明 private JMenuBar menuBar = new JMenuBar(); private JEditorPane content = new JEditorPane(); private JScrollPane scroll = new JScrollPane(content); private JFileChooser filechooser = new JFileChooser() ; private BorderLayout bord = new BorderLayout(); private JLabel statusBar = new JLabel(); private JPanel pane = new JPanel(); private File file = null;