I opened a bug report but they closed it by saying that they can't
reproduce.
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8286713
They test on Windows 10, can this be the cause why they are not able to
reproduce?
Here a gist where the code is better formatted.
I add a video that shows the issue.
https://www.youtube.com/shorts/IYq_yHemsgA
as you can see, there is no issue until I put the mouse pointer over the
JMenu (submenu),
once I put the mouse on the JMenu the entire JPopupMenu shows the glitch.
Thanks
Davide
Il 09/05/2022 18:04, Davide Perini
I can't load images unfortunantly but this is the minimum code to
reproduce the issue.
It seems that there is no way to add JMenu to JPopupMenu without having
this glitch.
Is this a problem in JavaFX?
I see non obvious errors in my code.
Thanks
Davide
package org.dpsoftware; import
Hi all,
I'm using a JPopupMenu to workaround the lack of a "real tray icon" in
JavaFX.
This is the simple code I'm using:
https://github.com/Sylvain-Bugat/tray-icon-skeleton/blob/master/src/main/java/com/github/sbugat/trayiconskeleton/TrayIconMainClass.java
It all works well until I add a