Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Regarding JTable

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I can implement the JTable using DefaultTableModel,there are two panels,
In first panel there are 5 textfields and a "ADD TO TABLE" button and In second panel there are one JTable and a "BACK" button.If i enter data in 5 textfields and press "ADD TO TABLE" button, the data will be stored in JTable in second panel, if i press "BACK" button the entire JTable data should be cleared and cursor will go to first panel and i again enter data in 5 textfields and press "ADD TO TABLE" button, i want to show the new data in JTable(previous data can be cleared).This process continues all times. please give me any suggestions regarding this issue.

Thank you in advance

[email protected]
 
Sheriff
Posts: 22850
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
How is this different from this thread?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Nothing, thread closed. Please continue discussion in the original thread and please don't post the same question more than once.
 
    Bookmark Topic Watch Topic
  • New Topic