[Top][All Lists]
[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
JRootPaneSetContentPane.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI JRootPane fixlet,
Anthony Balkissoon <=