permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes Jtable focuslost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jtable focuslost" Watch "Jtable focuslost" New topic
Author

Jtable focuslost

ben riches
Ranch Hand

Joined: Nov 08, 2002
Posts: 126
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
Thanks
Ben
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jtable focuslost