This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have two comboboxes cb and cb stored in a file. The contents of cb depend on the selected item of cb as follows:
Now, i have another class to add items to either of the boxes (cb or cb). To add item to cb, first you have to select the cb item ( hope you undestand why). After doing everything, i save the boxes in the same file from which i retrieve them.
Now the problem is, even after trying to add an item to cb, when i run the class that displays the comboboxes, making any change on cb makes cb invisible.
Can't undertsnad why? Please help.....