PDA

View Full Version : [ubuntu] Swing program didnt properly work


techie_india
March 17th, 2009, 03:48 AM
Hi all ,

Im using Ubuntu 8.1 in dell desktop .

I have swing application in Java . While loading this app there is lot of flickering while it loads the front screen .

Also Im using images in that application . While loading the images there would also lot of flickering in the screen .

Can anybody tell how to adjust the video properties

Thanks and regards
Anshuman Srivastava

jespdj
March 17th, 2009, 11:02 AM
Did you write that program yourself? Does it work without the flickering on other systems (Windows, for example)? Which version of Java are you using on Ubuntu?

Try switching off desktop effects (System / Preferences / Appearance / Visual Effects / None) and see if it still happens.

If you wrote the program yourself: Do you have some kind of animation with images? How does it work? Is double buffering enabled? You might want to ask a question about it and show us some source code in the Programming Talk (http://ubuntuforums.org/forumdisplay.php?f=39) forum.