Jlist over jtable...thank you!
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, May 14, 2002 02:00 AM

HI! If anyone was to reply my question...thank you very much! eventhough, i've managed to find another way. Here's the code if anyone wants to use it... Thank you! see u! TableColumn sportColumn = table.getColumnModel().getColumn(2); ... JComboBox comboBox = new JComboBox(); comboBox.addItem("Snowboarding"); comboBox.addItem("Rowing"); comboBox.addItem("Chasing toddlers"); comboBox.addItem("Speed reading"); comboBox.addItem("Teaching high school"); comboBox.addItem("None");    More>>

HI!



If anyone was to reply my question...thank you very much!

eventhough, i've managed to find another way.



Here's the code if anyone wants to use it...



Thank you!



see u!



TableColumn sportColumn = table.getColumnModel().getColumn(2);


...


JComboBox comboBox = new JComboBox();


comboBox.addItem("Snowboarding");


comboBox.addItem("Rowing");


comboBox.addItem("Chasing toddlers");


comboBox.addItem("Speed reading");


comboBox.addItem("Teaching high school");


comboBox.addItem("None");


sportColumn.setCellEditor(new DefaultCellEditor(comboBox));

   <<Less
About | Sitemap | Contact