• Post Reply Bookmark Topic Watch Topic
  • New Topic

cell focus on JTable

 
Keith Lockey
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a table to enter in values and when the user enters an invalid data entry, the program focuses on the particular cell with the changeSelection() method. I can run this locally from JBuilder but when I make a jar file and put it on the server, the focus does not work. I am not sure where to look for a solution to this.
Thanks,
Keith
 
Tim Holloway
Bartender
Posts: 18469
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTables can be tricky. I'd ask in the Swing/AWT forum where they're better informed on such things.
 
Keith Lockey
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your help. I posted this problem with jtable in the swing/awt section and have not received a reply. Do you know of anything else?
 
Tim Holloway
Bartender
Posts: 18469
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not specifically. However, JDK1.2's handling of JTables was pretty awful, so if you're using JDK1.3 under JBuilder but pushing JDK1.2 from the server (or have JDK1.2 on the client???) that could be it.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!