File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jtable focuslost" Watch "Jtable focuslost" New topic

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
I agree. Here's the link:
subject: Jtable focuslost
jQuery in Action, 3rd edition