[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/23900] New: JFrame doesn't recognize changes in it's ContentP
From: |
abalkiss at redhat dot com |
Subject: |
[Bug swing/23900] New: JFrame doesn't recognize changes in it's ContentPane |
Date: |
15 Sep 2005 18:40:44 -0000 |
Run the testcase below. Clicking on the minimize or close buttons should do as
you expect, but nothing shows up unless you resize (enlarge) the JFrame.
Making changes programmatically, like calling hide() on the JInternalFrame also
don't show up until the JFrame is resized (enlarged).
***TESTCASE***
import java.io.*;
import java.awt.*;
import javax.swing.*;
public class Test
{
public static void main(String[] args) throws IOException
{
JFrame jf = new JFrame("title1");
jf.setSize(600,600);
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JInternalFrame frame = new JInternalFrame("title2", true, true, true, true);
jf.setContentPane(frame);
frame.show();
jf.show();
}
}
--
Summary: JFrame doesn't recognize changes in it's ContentPane
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: swing
AssignedTo: abalkiss at redhat dot com
ReportedBy: abalkiss at redhat dot com
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23900
- [Bug swing/23900] New: JFrame doesn't recognize changes in it's ContentPane,
abalkiss at redhat dot com <=