窗体焦点监听事件WindowFocusListener

  public class Demo extends JFrame { JLabel label;//定义变量,以便在自定义方法类中调用 public Demo() { setBounds(100, 100, 300, 300); setResizable(false); setDefaultCloseOperation(Wind
相关文章
相关标签/搜索