Dynamic GUI with Swing/AWT
Hi
I want to develop a Dynamic GUI Application. My requirement is to add/delete the Widgets Dynamically.
For Example: I have two Panels in JFrame. One panel has Text Field whose valid range is 1-15. Based on the value in the Text Filed, those many no of check boxes should be created in other panel. If text field value is 15, then 15 check boxes should be created in second panel at runtime.
Now, If I change this value from 15 to 10, then 5 checkboxes should be deleted. I could do adding the check boxes based on the text field value. But, how can I delete the check boxes at run time.
Please provide your comments..
Thanks in advance
Prashanth