White Border in Frames in Linux Java?

R

Rene Schmidt

AWT-Frames in Java for Linux have a strange white border, several pixel
wide. This looks ugly. Can it be avoided?
 
T

Thomas Fritsch

Rene said:
AWT-Frames in Java for Linux have a strange white border, several pixel
wide. This looks ugly. Can it be avoided?
I don't have this behaviour on my platform (Java 1.4.2_05, Linux SuSE,
KDE2-WindowManager) when trying it with:
import java.awt.*;
public class Test {
public static void main(String args[]) {
Frame frame = new Frame("Test");
frame.resize(300, 300);
fram.show);
}
}
What platform do you have? I would suspect a problem with your
XWindowManager, or with your java code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top