JDK-6265511 : Swing JFrame/JWindow/JApplet/JDialog: getLayout and remove should forward to content pane
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2005-05-04
  • Updated: 2017-05-23
Related Reports
Relates :  
Relates :  
Along the same lines as 4753342, getLayout() and remove() should forward to the content pane when appropriate.
###@###.### 2005-05-04 20:23:06 GMT

EVALUATION Doing remove makes sense (although removeAll and remove(int) would need to be done too). We might not be able to do getLayout() since AWT might call getLayout() and expect the real layout manager. We may also want to investigate doing something similar for setComponentZOrder (which was already looked at under 5097499).