Esempio n. 1
0
  /**
   * Creates an instance of <tt>StatusSubMenu</tt>.
   *
   * @param tray a reference of the parent <tt>Systray</tt>
   */
  public StatusSubMenu(SystrayServiceJdicImpl tray) {

    parentSystray = tray;

    this.setText(Resources.getString("setStatus"));
    this.setIcon(Resources.getImage("statusMenuIcon"));

    /* makes the menu look better */
    this.setPreferredSize(new java.awt.Dimension(28, 24));

    this.init();
  }
 /**
  * Implements the <code>AccountRegistrationWizard.getPageImage</code> method. Returns the image
  * used to decorate the wizard page
  *
  * @return byte[] the image used to decorate the wizard page
  */
 public byte[] getPageImage() {
   return Resources.getImage(Resources.PAGE_IMAGE);
 }
 /**
  * Implements the <code>AccountRegistrationWizard.getIcon</code> method. Returns the icon to be
  * used for this wizard.
  *
  * @return byte[]
  */
 public byte[] getIcon() {
   return Resources.getImage(Resources.GIBBERISH_LOGO);
 }
 /**
  * Implements the <code>AccountRegistrationWizard.getIcon</code> method. Returns the icon to be
  * used for this wizard.
  *
  * @return byte[]
  */
 @Override
 public byte[] getIcon() {
   return Resources.getImage(Resources.PROTOCOL_ICON);
 }