classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI JRootPane fixlet


From: Anthony Balkissoon
Subject: [cp-patches] FYI JRootPane fixlet
Date: Thu, 15 Sep 2005 13:26:37 -0400

I found this while running some tests for a JInternalFrame bug I'm
working on.  JRootPane's setContentPane method should remove the old
contentPane before adding the new one.  Also, the API says it should
throw an IllegalComponentStateException if the parameter is null.  Fixed
these.  Attached.

2005-09-15  Anthony Balkissoon  <address@hidden>

        * javax/swing/JRootPane.java:
        (setContentPane): Remove the old content pane first.  Throw 
        IllegalComponentStateException if the parameter is null.  Added docs.

--Tony

Attachment: JRootPaneSetContentPane.diff
Description: Text Data


reply via email to

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