📄 splash.java
字号:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class Splash
{
Window windowSplash;
Splash(JFrame f)
{
this.prepareSplash(f);
}
public void prepareSplash(JFrame f)
{
windowSplash = new Window(f);
JLabel pic = new JLabel(new ImageIcon(".\\Splash.jpg"));
windowSplash.add(pic,BorderLayout.CENTER);
windowSplash.setBounds(100,100,824,568);
}
public void startSplash()
{
windowSplash.setVisible(true);
windowSplash.toFront();
}
public void stopSplash()
{
windowSplash.dispose();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -