Does anyone know how to work with the Card Layout in the NetBeans GUI builder tool? I want to show panels as per the JRadioButton
selection, so I want to lay this out using the Card Layout.
views:
778answers:
2
+1
A:
The Sun tutorial seems a good place to start to learn about Card Layouts.
Concerning NetBeans per se, simply assign the card layout to the component you wish to assign to (example a JPanel), give it a name, and then for the JPanel child components (other JPanels for example), specify their cardName
property. To switch from one to another, you code it in an event.
JRL
2009-11-13 13:07:37
Hi JRL .. i know how to work with card layout as independent ..but here i want to know from Netbeans GUI builder ..
Sidharth
2009-11-13 13:10:49
+2
A:
Here is a very simple tutorial that might start you off in the right direction. I hope it is helpful.
Vincent Ramdhanie
2009-11-13 14:28:00