When I run the modify method , I found that the # of seats is reduced twice. I think it has to do with the public void valueChanged(ListSelectionEvent e) being called twice . How could I avoid the method being called twice? I have tried to used the following code but still , It doesn't seem to work. JTable table = new JTable(model); table.setCellSelectionEnabled(false); table.setRowSelectionAllowed(true); table.setColumnSelectionAllowed(false); Where could I be going wrong ? Thanks Ravi
SCEA, SCBCD, SCWCD, SCJD, SCJP
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads