I'm writing a program that (among other things) creates a JDialog.
On the JDialog there is a JLabel and a JComboBox.
When the user selects something different in the JComboBox, the text on the JLabel needs to change.
What code do I need to write in the listener for the JComboBox to do this?
(The dialog is actually a lot more complicated that this, so I'm hoping that I don't have to dispose of the dialog and draw it again.)