Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Internal Frame close event??  RSS feed

 
Anjali K Roy
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
How can i close the internal frame by double clicking right corner icon.
 
Anjali K Roy
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i got it..
i used like this
((javax.swing.plaf.basic.BasicInternalFrameUI) iFrameObject.getUI()).getNorthPane().getComponent(0).addMouseListener
and in mouseCicked event and if getClickCount==2, i am closing the internalframe it is working fine. thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!