View Full Version : Java:Blank Panel

January 4th, 2007, 08:07 PM
Sorry guys, i searched for this problem could not find a solution.

Don't know what i'm going but, every time i run a Jpanel program, it comes out blank!

any ideas?

January 5th, 2007, 02:40 PM
What version of Java do you have installed? I suggest using Sun's version available in the repos (http://ubuntuforums.org/showthread.php?t=201378). Also, can you post some code. Lastly, you might want to ask a mod to move this thread into the main Programming Talk section, not as many people poke their heads in this sub-forum.

January 7th, 2007, 03:36 PM
hmm, i did a search around, it might be because of beryl, i havent actually tested it without beryl, cause im lazy

January 9th, 2007, 08:00 AM
Oops, double post. :(

January 9th, 2007, 08:03 AM
I have this problem as well, turns out it was Beryl as you've already figured out. One way I get around it is to temporarily set your window manager to metacity (via beryl manager) and then launch the program again. Another thing that doesn't work for me but may for you is to set some environmental variables, outlined here:


Hope this helps.

January 10th, 2007, 07:36 AM
export AWT_TOOLKIT=MToolkit should fix this.