[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-classpath] [bug #13535] swing: title of JInternalFrame in the middl
From: |
Timo Lindfors |
Subject: |
[bug-classpath] [bug #13535] swing: title of JInternalFrame in the middle of the window |
Date: |
Fri, 24 Jun 2005 14:34:07 +0000 |
User-agent: |
Elinks |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13535>
Summary: swing: title of JInternalFrame in the middle of the
window
Project: classpath
Submitted by: lindi
Submitted on: Fri 06/24/05 at 14:34
Category: classpath
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Platform Version: None
_______________________________________________________
Details:
Steps to reproduce:
1. Compile and run the attached testcase.
Expected results:
1. A window with "title1" shows up. Window contains a JInternalFrame with
maximize icon, "title2", iconify icon, another maximize icon and close icon
all on the same horizontal line.
Actual results:
1. A window with "title1" shows up. Window contains a JInternalFrame but
maximize icon is about 20 pixels below the actual title bar the
JInternalFrame. "title2" and other icons are about 300 pixels below the title
bar. If you resize the JFrame you will see that "title2" is actually always in
the middle of the JInternalFrame.
Testcase:
import java.awt.*;
import javax.swing.*;
public class testcase extends JFrame {
public static void main(String[] args) {
new testcase().show();
}
public testcase() {
super("title1");
JInternalFrame frame = new JInternalFrame("title2", true,
true, true, true);
this.setContentPane(frame);
frame.show();
this.setSize(new Dimension(600, 600));
}
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13535>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-classpath] [bug #13535] swing: title of JInternalFrame in the middle of the window,
Timo Lindfors <=