![JAR search and dependency download from the Maven repository](/logo.png)
tray.linux.NativeTray 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.linux;
import java.awt.TrayIcon.MessageType;
public interface NativeTray {
int nativeCreateTrayIcon(String file, String tooltip);
void nativeAddMenuItem(int nativeId, int menuItemIndex, String label);
void nativeDisplayMessage(int nativeId, String title, String caption, MessageType info);
void nativeSetAutosize(int nativeId, boolean autosize);
void nativeRemoveMe(int nativeId);
void nativeSetImage(int nativeId, String file);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy