📄 cleanpanel.java
字号:
package za.co.halo.SecureCommunications.gui.server;
import java.awt.Dimension;
import javax.swing.WindowConstants;
import javax.swing.JFrame;
/**
* This code was generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* *************************************
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED
* for this machine, so Jigloo or this code cannot be used legally
* for any corporate or commercial purpose.
* *************************************
*/
/**
* @author
* CleanPanel Class
* This class does GUI clean up work to represent a clean panel
* and is used when no panel are needed to implement changes
*/
public class CleanPanel extends javax.swing.JPanel {
/**
* main method
* Use to:
* display this JPanel inside a new JFrame.
*/
public static void main(String[] args) {
JFrame frame = new JFrame();
frame.getContentPane().add(new CleanPanel());
frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
frame.pack();
frame.setVisible(true);
}
/**
* AddGroupPanel constructor
* Use to
* initialize member variables
* initialize the build of graphical components.
* @param void
* @return void
*/
public CleanPanel() {
super();
initGUI();
}
/**
* initGUI method
* Use to:
* initialize graphics
* @param void
* @return void
*/
private void initGUI() {
try {
setPreferredSize(new Dimension(400, 300));
} catch (Exception e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -