• Post Reply Bookmark Topic Watch Topic
  • New Topic

FocusLost help needed

 
Pranay Narotam
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys

I seem to be having a small problem. I have a Table that extends JTable, and this table can have
3 different types of cells. 1)miniPlainText, 2)miniTextField, 3) miniComboBox.

miniPlainText is a normal Jtextfield and miniComboBox is a normal comboBox. My problem is with
miniTextField, which is a textField with a lookup button next to it.

Is there a way for me to lose focus on the entire miniTextField cell? Because the way I have it at the
moment, there is a focus listener for the textfield and another focus listener for the lookup button.

Thanks

Pranay
 
Pranay Narotam
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys

Im sorry for being a nag. Could someone please help me out. Ive searched the internet for a solution
but i can't find one.

Any sort of help will do.

Thanks

Pranay
 
Rob Camick
Ranch Hand
Posts: 2700
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of cross posting your question on multiple forums why don't you give us some information we can actually work with. I didn't understand your question in the other forum (where 40 people took the time to read the question) and I don't understand it again here.

If you need further help then you need to create a SSCCE (Short, Self Contained, Compilable and Executable, Example Program), that demonstrates the incorrect behaviour.

Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!