Bookmark Topic Watch Topic
  • New Topic

Regarding JTable

 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • 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

raja.tadi@tcs.com
 
Rob Spoor
Sheriff
Posts: 20820
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
How is this different from this thread?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • 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
Boost this thread!