文件名称:java 电子词典
文件大小:6KB
文件格式:TXT
更新时间:2015-04-27 05:06:25
java
import java.awt.*; import java.net.*; import java.sql.*; import java.awt.event.*; import javax.swing.*; import java.io.*; import javax.swing.JOptionPane; public class DataWindows extends JFrame implements ActionListener { JFrame topFrame; JDesktopPane desktop; FileDialog filedialog_save; // 声明文件对话框 JTextField englishtext; JTextArea chinesetext; JButton b1, b2, b3, b4, b5; JLabel label; JMenuBar mbar; JMenu mfile, medit, mhelp; JMenuItem edic, cdic, back_data, quit, addedit, modedit, deledit, hhelp,about; DataWindows() { super("英汉小词典"); this.setBounds(250, 25