Community
Participate
Working Groups
Build Identifier: 20110916-0149 Got this Exception thrown everytime I try to open the design view of my derivated class. The parent class is a simple JPanel in CardLayout with a JScrollPane. If I remove the JScrollPane and add a new JScrollPane, the error is gone - means I can open and the design view of the derived class without any errors. But if I change the layout of the JPanel in the parent class to any other layout and then back to CardLayout - the described error occurs again. Reproducible: Always Steps to Reproduce: 1. Create a JPanel-class ParentPanel 2. Create a JPanel-class ChildPanel, that has ParentPanel as SuperClass 3. Switch to design view in ParentPanel 4. Add a JScrollPane to ParentPanel 5. Change the layout of ParentPanel to CardLayout 6. Open the design view of ChildPanel
Created attachment 208442 [details] Minimalized code example that produced the error
1. Work for me under Java 1.7, because "null" is now valid "name" and converted into empty String. 2. Fixed, now WB will generate some "name" during converting from other layout to CardLayout.