• Post Reply Bookmark Topic Watch Topic
  • New Topic

Saving table data and using agen - JTable  RSS feed

 
Michail Petrov
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello i have one problem and need Know haw from the Profs

I have this code




This is table and i need it for one smal progect= I need to save the DATAS from the rows and den to open it agen=
Can you geva me a SAVEING data tutorial because i dont have time to stady SQL for Java
I need samthink like SAVING IN TXT. FILES but i dont know haw actualy

Pleasy help me

thenk you

 
Paul Clapham
Sheriff
Posts: 22823
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems like a Swing question to me. Or maybe an ordinary Java question -- "How do I save data from a Java program?" Doesn't belong here, anyway, let's move it.

One part of the answer is that you would save the data from the table model, which is where the data is stored. Don't consider saving the JTable, that's just a GUI component used to display the data. Okay, that takes care of the Swing part of the question, the rest is just Java programming. Moving...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!