资 源 简 介
import javax.swing.*;
import java.awt.*;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import java.awt.event.*;
import java.io.*;
public class Moo{
public static void main(String args[]){
FirstWindow win=new FirstWindow("新建文本文档.txt-记事本");
}
}
class FirstWindow extends JFrame implements ActionListener,ItemListener{
JFileChooser fileChooser1,fileChooser2,fileChooser3,fileChooser4;
JPopupMenu menu;
JComboBox listFont;
JTextArea text;
JScrollPane scrollPane;
JMenuBar menubar;
JMenu menu1,menu2,menu3,menu4,menu5;
JMenuItem item1,item2,item3,item4,item5,item6,item7,item8,item9,item10,item11,item12,item13
,item14,item15,item16,item17,item18,item19,item20,item21,item22,item23,item24,item25,item26,item27
,item28,item29,item30,item31,item32,item33,item34;
FirstWindow(String s){
setTitle(s);
setSize(260,270);
setLocation(