📄 guitest.java
字号:
/**
*
*/
package org.apache.ftpserver.gui;
import java.awt.Frame;
import java.awt.GraphicsConfiguration;
import java.awt.HeadlessException;
import javax.swing.JOptionPane;
/**
*2006-7-6 13:45:49
* @author xudz
*
*/
public class GuiTest extends Frame
{
/**
* @throws HeadlessException
*/
public GuiTest() throws HeadlessException
{
super();
JOptionPane.showMessageDialog(this, "hehhe ", "Error!",
JOptionPane.ERROR_MESSAGE);
}
/**
* @param gc
*/
public GuiTest(GraphicsConfiguration gc)
{
super(gc);
}
/**
* @param title
* @throws HeadlessException
*/
public GuiTest(String title) throws HeadlessException
{
super(title);
}
/**
* @param title
* @param gc
*/
public GuiTest(String title, GraphicsConfiguration gc)
{
super(title, gc);
}
/**
* @param args
*/
public static void main(String[] args)
{
GuiTest frame = new GuiTest();
frame.show();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -