View RSS Feed

Java AWT

Java Abstract Window Toolkit (AWT)

  1. System Tray Helpful Features

    by , 03-04-2012 at 11:40 AM
    • Method setImage() is used to show the changed status of an application in your program. Its syntax is as following: trayIcon.setImage(updatedImage);
    • Tooltip can be obtained or set for Traylcon. When mouse is at Traylcon, it will be shown. For an operating system, it gets displayed that is dependent at the time period.
    • trayIcon.setTooltip("I'm busy. Go away.");
    • For Traylcon, auto size property is present. Image is fitted as well as auto sized by it. By default, itís set to false.
    Tray , Java AWT