Bookmark Topic Watch Topic
  • New Topic

help needed on the java focus...

 
Aurelien Faillon
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi,

First of all, excuse my poor english...

I want to create a java-swing application with JTable and where you have to press a JButton to send the elements which are in the JTable to a database... but when I press the button the last cell that I have complete in the JTable seems to be not recorded... the object inside is "null"...

so I think I have to add a focus for change it and validate the record in the JTable, but I don't know how...

could you help me?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
This would seem to have more to do with GUIs and programming logic than testing.

I'm moving this to the Swing / JFC / AWT forum...
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
...and then we discover that this thread has a duplicate.

Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.
 
    Bookmark Topic Watch Topic
  • New Topic