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!

Java GUI does not work in Ubuntu

843806Aug 14 2009 — edited Feb 19 2010
Hello everybody,

I made an application in Eclipse in Windows, which worked perfectly until I tried to use the same source code in Ubuntu. When I run it in Ubuntu, the GUI shows up, and the program works until I place the pointer on top of the program's window. When I do so, the program freezes and after a couple of seconds I get a message telling me that the program is not responding.

The weirdest thing is that I can run it without problem by using only the keyboard, by tabbing between the buttons of the GUI. If I do so, it works without any problems, and the output is exactly what I expect it to be.

I also tried to compile it outside of Eclipse with gcj and I get the same result: It works perfectly until I place the pointer on top of the window.

Does anybody know what the problem may be? I'm sorry that I didn't post the code. The reason is that it is quite long.

I would appreciate if anybody could help me, thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2010
Added on Aug 14 2009
5 comments
388 views