• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

JTable behavior on mouse press and press "TAB"  RSS feed

 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

My JInternalFrame contains a JTable and there is TableCellEditor in a column. The component in the TableCellEditor is JTextField.

when I press "TAB", the JTextField inputVerifier will perform checking, if correct, the value of component in the TableCellEditor will be completed (e.g. I type 'H', then press "TAB", if 'H' exist, it will completed to "HELLO")
else the focus will remain in the JTextField.

when I use mouse press instead of pressing "TAB", the value of component in the TableCellEditor does not refresh. Does anyone know why?

Thanks,
Jack
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!