D
Dino Buljubasic
Hi
I am quite new to java so this question is probably easy
Please help
I have a frame that holds north center and south panels
-norht panel has a JComboBox
-center panel holds a JScrollBar that holds a panel that is
dynamically loaded when a combo box item is selected.
my question is how do I make my frame redraw itself each time
a combo box has been clicked, or a new selection in combo box has been
made and as a result new center panel with dynamically loaded controls
has been created?
So far, when I click on my combo to open it but do not change
selected item then click again to close it, the region of frame that
was covered with its drop down list is not redrawn.
Also, the labels and text fields loaded seam to be not redrawn
properly. Say when I maximize my frame and then minimize it, some
labels dissapear. I am using GridBagLayout for this components to be
displayed
Any help will be appreciated
I am quite new to java so this question is probably easy
Please help
I have a frame that holds north center and south panels
-norht panel has a JComboBox
-center panel holds a JScrollBar that holds a panel that is
dynamically loaded when a combo box item is selected.
my question is how do I make my frame redraw itself each time
a combo box has been clicked, or a new selection in combo box has been
made and as a result new center panel with dynamically loaded controls
has been created?
So far, when I click on my combo to open it but do not change
selected item then click again to close it, the region of frame that
was covered with its drop down list is not redrawn.
Also, the labels and text fields loaded seam to be not redrawn
properly. Say when I maximize my frame and then minimize it, some
labels dissapear. I am using GridBagLayout for this components to be
displayed
Any help will be appreciated