File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

booking seats

ravindra janapreddy
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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);
Where could I be going wrong ?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic