testslideinnotification.java
来自「oraily的Swing hacks code」· Java 代码 · 共 17 行
JAVA
17 行
import javax.swing.*;public class TestSlideInNotification { public static void main (String[] args) { Icon errorIcon = UIManager.getIcon ("OptionPane.errorIcon"); JLabel label = new JLabel ("Your application asplode", errorIcon, SwingConstants.LEFT); SlideInNotification slider = new SlideInNotification (label); slider.showAt (450); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?