Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

RHEL 6.4 using TWM and VNC issue with mouse clicks in Java FX 2.2 app

RDarrylRApr 15 2014

We have a javafx 2.2 app (using jre 1.7.0_45 32-bit) which we support on windows and linux (RHEL 6.4). I know that RHEL isn't technically supported by Javafx but it generally works fine. The app is a swing main program with JFXPanels and javafx Popups on items in the javafx scene inside the JFXPanel.

A strange issue has come up when using VNC. Our Linux servers only have the TWM window manager on them and we have an issue where the mouse clicks are not working as expected. If I right click on the node no popup menu appears. The cursor changes to an X and start blinking. If I left double click on a node the normal double click action does not work.

I have found that I can get the left double click to work by holding down the left button (using mouse buttons on my HP elitebook laptop) and double click the middle button. I can get the expected right click behaviour to work by holding down the right button and clicking the middle button. I'm not an expert on TWM and have read over the TWNRC man page. I'm not sure if this behaviour is expected or not. Since the exact same binary code works as expected on a console session or using other window managers i'm not sure if should be changing java code or if there is another option.

Anyone have any ideas?

Thanks,

-Darryl

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 13 2014
Added on Apr 15 2014
0 comments
892 views