Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jtable focuslost  RSS feed

ben riches
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have a JTable. I then type in the data in the table that I want to update to my database, but on the last textfield in the JTable I have to tab away from it in order for my data to be uploaded properly, if I don't tab away from it I donot get the data that I typed in from the last text field.
Could someone help me please.
Also when someone puts my tool on there machine the names of the columns are not cetered anymore they sit on the left hand side of the tableheader, in fact the whole look of the tool is diffrent. They are on the same os as me and the tool automatically insatll the JVM for them. the machine that the look and feel is diffrent is 2 days old, but every other machine I upload the tool to is fine.
Does anyone have a solution to why this wold happen?
My code for my JTable is as follows:

Any help would be most grateful
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!