Class GUI
java.lang.Object
GUI
public class GUI
extends java.lang.Object
present GUI of insomnia
-
Constructor Summary
Constructors Constructor Description GUI()
creat a new GUI -
Method Summary
Modifier and Type Method Description void
addJPanel(javax.swing.JPanel jPanel, java.awt.Color color, javax.swing.border.Border border, int height, int weight)
creat a panel with given datavoid
setSystemTray()
Provide adding program to system tray copied from StackOverFlow
-
Constructor Details
-
GUI
public GUI()creat a new GUI
-
-
Method Details
-
addJPanel
public void addJPanel(javax.swing.JPanel jPanel, java.awt.Color color, javax.swing.border.Border border, int height, int weight)creat a panel with given data- Parameters:
jPanel
- JPanelcolor
- of panelborder
- of panelheight
- of panelweight
- of panel
-
setSystemTray
public void setSystemTray()Provide adding program to system tray copied from StackOverFlow
-