invokerdemo.java
来自「动画弹出窗口,用java编写的一个非常漂亮的效果,值得一看」· Java 代码 · 共 36 行
JAVA
36 行
/*
* InvokerDemo.java
*
* Created on 2007年6月14日, 下午6:03
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package dyno.swing.beans.demo;
import dyno.swing.beans.Invoker;
import java.awt.EventQueue;
import javax.swing.UIManager;
/**
*
* @author William Chen
*/
public class InvokerDemo {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {}
EventQueue.invokeLater(new Runnable() {
public void run() {
//使用Invoke.show方法动画显示窗口
Invoker.show(new SampleFrame());
}
});
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?