摘要:
public class Demo extends JFrame { JLabel label;//定义变量,以便在自定义方法类中调用 public Demo() { setBounds(100, 100, 300, 300); setResizable(false); setDefaultCloseOperation(Win... 阅读全文
摘要:
public class Demo extends JFrame { private JTextArea textArea; public Demo() { setBounds(100, 100, 470, 300); setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); ... 阅读全文