• Post Reply Bookmark Topic Watch Topic
  • New Topic

Input....in JTable  RSS feed

 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
I hav created one table in which 1st column is noneditable ,
2nd column is editable with combo and third one is simple column with normal editable.....


actually what i want to do is when my 2nd column gets focus it opens a small window or frame or dialog where it takes inputs from the user and multiply and make total and when that window get colsed the focus is set to next column and whatever the calculation done in window get appeared in that column....


please help me out i m not getting what to do and how to do...
thank you
 
Reinhard Horn
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kirtesh,

do you want to start your input dialog with a button?

Kind regards
 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya actually what i have done is i have created a class which creates button as cell editor and new internal frame is also coming now with all calculation stuff but my new problem is that when i close that mini window by method dispose() the focus does not transfer to previous window.... means i want to set the focus on the next column ...
please help me out
thank you...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!