• 2025-01-05Java必备知识点
    1.setSize()设置宽高,setTitle()设置标题,setAlwaysOntop(true/false)设置置顶,setLocationRelative(null)设置居中,setDefaultOperation(),setVisable(true)2.一个大长条就是JMenuBar,下面一级是JMenu,再下面一级是JMenuItem,我们需要先创建JMenuBar,在创建JMenu,再创建JMenuItem,把JMenuItem放
  • 2024-12-21JavaSwing 菜单栏
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe