commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #11310] Swing: Window insets detected incorrectly.


From: Thomas Zander
Subject: [commit-cp] [bugs #11310] Swing: Window insets detected incorrectly.
Date: Mon, 13 Dec 2004 10:02:19 -0500
User-agent: Mozilla/3.01Gold (Macintosh; I; 68K)

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #11310] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11310>
Project: classpath
Submitted by: Thomas Zander
On: Mon 12/13/2004 at 14:54

Category:  classpath
Severity:  5 - Average
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  Swing: Window insets detected incorrectly.

Original Submission:  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());











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11310>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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