• Post Reply Bookmark Topic Watch Topic
  • New Topic

after JDateChooser Lost Focus event fired, no breakpoint is caught

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Rob Spoor
Sheriff
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just because you create a method that takes a FocusEvent, doesn't mean it gets called automatically. In Swing (and AWT), you need to explicitly register listeners, in this case a FocusListener. You can make its focusLost method call your existing DOBFocusLost method.
 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Still no bp was caught in here.
Let me know
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!