try to find nalang sa og tutorial sa pag himo sa JList..
Using JList : JList « Swing « Java Tutorial
after nimo mapangita,
try to use it on your code, but
ISOLATE it first.
ayaw sa i-merge imung main code.
Backup Backup Backup...
Then if mo-work na according sa imung ganahan,
hinay2x na og add sa JButton,
then hinay2x add sa actions.
Then complete your code
Anyways, akong nabantayan kay naa jud sayup sa imung pag himo sa GUI..
just follow the rules of creating GUI, aron di ka maboang sige solve..
![Cheesy](images/smilies/cheesy.gif)
hehehe..
Kung sige'g sayaw ang imung table, ayaw hugti ang screw,
maybe ang structure mismo ang weak.. ![Wink](images/smilies/wink.png)
Take note of these lines..
JList list = new JList(selections);
list.setSelectedIndex(1);
frame.add(new JScrollPane(list));
frame.pack();