And while Iām hereā¦ Is it possible to add a āmessageā on the system tray icon ? (like when you deconnect something of the computer, with a cross to close the messageā¦)
Another questionā¦ I want to use the system tray icon to control the state of the main window. But Iām not able to access to its properties. I have tried to use the findParentComponentOfClass but that doesnāt work, I got a null pointer. I have added the TaskbarIcon component to the desktopā¦
[quote=āWolfenā]Another questionā¦ I want to use the system tray icon to control the state of the main window. But Iām not able to access to its properties. I have tried to use the findParentComponentOfClass but that doesnāt work, I got a null pointer. I have added the TaskbarIcon component to the desktopā¦
Some ideas ? Thanks [/quote]
ā¦erm, why not just pass your tray icon a pointer to the main window when itās createdā¦?