Click to See Complete Forum and Search --> : JList


anup
October 11th, 1999, 06:57 AM
I am creating a Tabbed Pane using JTabbedPane. The tabbed pane contains a JPanel for every selection of Tab. For the first tab the JPanel consists of two JList components. I want to select the elements (allowing user for multiple selection) of the First JList and post them to the second List. After I have made selection in JList1 I click the select button. My select button action listener uses the JList1.getSelectedValues() and constructs the JList2 using the DefaultListModel().
My problem is that the JList2 is not visible after the Select button is clicked.
Can anybody help me please.

Thanks

meherss
October 11th, 1999, 03:51 PM
Why don't you paste the code ...


Meher