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
sendRequest()
void
setSystemTray()
Provide adding program to system tray copied from StackOverFlowvoid
updateComboBox(javax.swing.JComboBox comboBox, java.io.File[] FileList)
void
updateJTree(javax.swing.tree.DefaultMutableTreeNode baseNode, java.io.File[] FileList)
-
Constructor Details
-
GUI
public GUI()creat a new GUI
-
-
Method Details
-
updateJTree
public void updateJTree(javax.swing.tree.DefaultMutableTreeNode baseNode, java.io.File[] FileList) -
updateComboBox
public void updateComboBox(javax.swing.JComboBox comboBox, java.io.File[] FileList) -
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 -
sendRequest
public void sendRequest()
-