bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22815] Swing: Window insets detected incorrectly.


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22815] Swing: Window insets detected incorrectly.
Date: 16 Oct 2005 01:27:20 -0000

A JFrame has a contentPane, which has insets.  Those insets are the size of the
window-manager decorations around the frame.
In Classpath the left/right sizes are double that of the Sun JVM one.  And
measuring it; the Sun JVM was correct.

So try:
JFrame f = new JFrame();
f.setVisible(true);
System.out.println(f.getContentPane().getInsets());


------- Comment #1 from from-classpath at savannah dot gnu dot org  2005-01-02 
17:36 -------
This bug seems to be jamvm/classpath related. It doesn't appear with a fully
merged java-gui-branch.


------- Comment #2 from from-classpath at savannah dot gnu dot org  2005-01-10 
12:09 -------
The patch attached to
http://lists.gnu.org/archive/html/classpath/2005-01/msg00040.html
fixes the problem. I close this bug as its not a GNU classpath issue. I think
jamvm 1.2.4 will be fixed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22815





reply via email to

[Prev in Thread] Current Thread [Next in Thread]