• 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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!