Actually I am hoping that someone can give me a example on how to pass value from combo box to textarea. I have done one..but it doesn't works.
posted 12 years ago
You need to add an ItemListener, not an ActionListener to obtain combo box selection events. You'll need to implement an itemStateChanged(ItemEvent e) method in which you can retrieve the selected combo box value via e.getItem(), and then populate your text area with that.