• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to listen the maximize button of the JInternalFrame event?

 
Jim Yin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I want to know how can I listen the maximize button of the JInternalFrame clicking event.
I am using addPropertyChangeListener(...) and check the property of "maximum" to workround.
Does anybody have a good advice?
TIA.
xpdz
 
Jose Botella
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Jim.
It is possible to listen for ComponetEvent.RESIZED events and ask the source of such event for its maximized state:

But I cannot see it as a good advice.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!