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: Michael Koch
Subject: [commit-cp] [bugs #11310] Swing: Window insets detected incorrectly.
Date: Sun, 02 Jan 2005 12:56:39 -0500
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; i686; de, address@hidden) (KHTML, like Gecko)

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

/**************************************************************************/
[bugs #11310] Latest Modifications:

Changes by: 
                Michael Koch <address@hidden>
'Date: 
                Son 02.01.2005 at 17:36 (GMT)

------------------ Additional Follow-up Comments ----------------------------
This bug seems to be jamvm/classpath related. It doesn't appear with a fully 
merged java-gui-branch.






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

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11310>
Project: classpath
Submitted by: Thomas Zander
On: Mon 13.12.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());

Follow-up Comments
------------------


-------------------------------------------------------
Date: Son 02.01.2005 at 17:36       By: Michael Koch <mkoch>
This bug seems to be jamvm/classpath related. It doesn't appear with a fully 
merged java-gui-branch.












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]