Package GUI

Examples of GUI.NotificationWindow


  public void userOffgoing(Contact contact) {

    if(settings.showWhenOffGoing == 1 || (settings.showWhenOffGoing == 2
        && settings.showPersonWhenOffGoing.contains(contact.getUin()))){
      NotificationWindow notificationWindow =  new NotificationWindow(new Rectangle(
          java.awt.Toolkit.getDefaultToolkit().getScreenSize().width - 200,
          java.awt.Toolkit.getDefaultToolkit().getScreenSize().height - 140
          - 90 * notificationWindows.size(),
          200, 90), contact.getDisplayedName() + " ist offline", contact.getStatus(), this);
      notificationWindows.add(notificationWindow);
      notificationWindow.startDisplaying();
    }
  }
View Full Code Here


  public void userOngoing(Contact contact) {

    if(settings.showWhenOnGoing == 1 || (settings.showWhenOnGoing == 2
        && settings.showPersonWhenOnGoing.contains(contact.getUin()))){

      NotificationWindow notificationWindow =  new NotificationWindow(new Rectangle(
          java.awt.Toolkit.getDefaultToolkit().getScreenSize().width - 200,
          java.awt.Toolkit.getDefaultToolkit().getScreenSize().height - 140
          - 90 * notificationWindows.size(),
          200, 90), contact.getDisplayedName() + " ist online", contact.getStatus(), this);
      notificationWindows.add(notificationWindow);
      notificationWindow.startDisplaying();
    }
  }
View Full Code Here

TOP

Related Classes of GUI.NotificationWindow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.