Results 1 to 1 of 1
- 01-03-2011, 03:24 PM #1
Member
- Join Date
- Jan 2011
- Posts
- 2
- Rep Power
- 0
GUI refresh does not work properly on linux/ubuntu but does on windows
Hello everybody,
I have developed a robotic simulation using swing/awt libraries. Furthermore, I am using the "observer" design pattern (java.util.Observable) so after doing some computations, the graphical components of a JPanel (i.e., the robot, sonar areas, objects, etc.) are refreshed (by invoking repaint method).
The problem is that when I run the simulation on windows (both XP and vista) everything goes well, but when I run this on ubuntu 8.04 the simulation goes slow, I mean, it seems that there is some problem with GUI refreshing so robot in simulation doesn't look like moving continuously but with some delay. I have measured the time interval between each refreshing invocation, but it is almost the same in both operating systems (roughly 16 miliseconds).
Could anybody help me?
Thanks a lot.
Similar Threads
-
starting java programming on ubuntu linux
By hmjsaumya in forum New To JavaReplies: 1Last Post: 01-23-2010, 06:28 AM -
Not able to add text using xvkbd keyboard of Linux/Ubuntu on JRE6
By singhkanhaiya in forum AWT / SwingReplies: 3Last Post: 08-25-2009, 04:01 PM -
[SOLVED] Windows Linux conflict - TrayIcon image not display in Linux
By Eranga in forum Advanced JavaReplies: 6Last Post: 04-08-2009, 04:05 AM -
Applet works on Windows, Ubuntu and Mac, but not on Redhat and Fedora
By bhaskar_e in forum AWT / SwingReplies: 6Last Post: 10-22-2008, 05:05 PM -
Eclipse Documentation does not work properly.
By krawetko in forum EclipseReplies: 0Last Post: 10-05-2008, 10:06 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks