public class TrayIcon extends Object
Constructor and Description |
---|
TrayIcon(BufferedImage icon,
String toolTip)
Creates an instance of TrayIcon.
|
Modifier and Type | Method and Description |
---|---|
void |
addMouseListener(MouseListener listener)
Adds a mouse listener to the tray icon.
|
Object |
getTrayIcon()
Gets the Java 6 tray icon object.
|
void |
setToolTip(String toolTip)
Sets the tooltip text of the tray icon.
|
public TrayIcon(BufferedImage icon, String toolTip)
icon
- The icon image.toolTip
- The tray tooltip text.public void setToolTip(String toolTip)
toolTip
- The new tooltip text.public Object getTrayIcon()
public void addMouseListener(MouseListener listener)
listener
- The listener to add.TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)