Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Jtable focuslost

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Thanks
Ben
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic