tray.TrayIconAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of native-tray-adapter Show documentation
Show all versions of native-tray-adapter Show documentation
Provides a simple adapter that makes the tray use gtk under linux,
providing a native look and feel.
The newest version!
package tray;
import java.awt.TrayIcon.MessageType;
import java.awt.event.ActionListener;
import java.net.URL;
public interface TrayIconAdapter {
public void displayMessage(String caption, String text, MessageType messageType);
public void setImageAutoSize(boolean autoSize);
public void addActionListener(ActionListener actionListener);
public void setImage(URL imageUrl);
}