Forums Register Login

Regarding JTable

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
How is this different from this thread?
+Pie Number of slices to send: Send
Nothing, thread closed. Please continue discussion in the original thread and please don't post the same question more than once.
Live ordinary life in an extraordinary way. Details embedded in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


Reply locked
This thread has been viewed 912 times.
Similar Threads
JTable
regarding JTableHeader
JTable Editing
JTable(!!!)
regarding JTable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:19:46.