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 data
    void setSystemTray()
    Provide adding program to system tray copied from StackOverFlow

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 - JPanel
      color - of panel
      border - of panel
      height - of panel
      weight - of panel
    • setSystemTray

      public void setSystemTray()
      Provide adding program to system tray copied from StackOverFlow