⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 framedefaultcloseoperationitems.java

📁 SWING的界面UI包 SWING的界面UI包
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package dyno.swing.designer.properties.items;import dyno.swing.designer.properties.types.Item;import javax.swing.WindowConstants;/** * * @author rehte */public class FrameDefaultCloseOperationItems implements ItemProvider {    private Item[] VALUE_ITEMS = {        new Item("EXIT", WindowConstants.EXIT_ON_CLOSE, "javax.swing.WindowConstants.EXIT_ON_CLOSE"),        new Item("DO_NOTHING", WindowConstants.DO_NOTHING_ON_CLOSE, "javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE"),         new Item("HIDE", WindowConstants.HIDE_ON_CLOSE, "javax.swing.WindowConstants.HIDE_ON_CLOSE"),         new Item("DISPOSE", WindowConstants.DISPOSE_ON_CLOSE, "javax.swing.WindowConstants.DISPOSE_ON_CLOSE")    };    public FrameDefaultCloseOperationItems() {    }    @Override    public Item[] getItems() {        return VALUE_ITEMS;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -