📄 readme
字号:
ActionDemo:----------------- replaced button=setAction(action) with button.setAction(action); toolbar.add(button) (as of 1.3)- extends JPanel instead of extends JFrame- BorderLayout.PAGE_START instead of BorderLayout.NORTH- Standardized main method.- Use EXIT_ON_CLOSE.- Made textArea uneditable.- Switched to icons in Graphics Repository (Back24, Up24, Forward24 instead of middle.gif, left.gif, right.gif)- Converted to getResource- Converted anonymous inner classes (for actions) to named AbstractAction subclasses (LeftAction, RightAction, MiddleAction)- separated the logic for the menu and the toolbar into separate methods (createMenuBar and createToolBar)- setDefaultLookAndFeelDecorated(true)BorderDemo:----------------- Standardized main method.- Use EXIT_ON_CLOSE.- setDefaultLookAndFeelDecorated(true)- Added lowered etched border (new in 1.3)CustomIconDemo:----------------- Standardized main method.- Use EXIT_ON_CLOSE.- setDefaultLookAndFeelDecorated(true)- Converted to getResource for the middle iconAccessibleScrollDemo:----------------- Same changes as for components/ScrollDemo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -