Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

InternalFrame Listener  RSS feed

 
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering if anyone could take the time to help me learn and grasp internalFrame listeners. I just can't seem to get them from reading on java.sun.com. Basically, I am opening several internal frames and need to manipulate them on events. I have a function for each internal frame that opens.
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The event handling model for JInternalFrame follows the same patters as JFrame. Just replace the Window part in the method and class names with InternalFrame. For instance windowClosing(WindowEvent e) becomes internalFrameClosing(InternalFrameEvent e) and so on...
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out manning.spindoczine.com/sbe which has the online version of Matthew Robinson's "Swing". Chapter 16 talks about JInternalFrames.
 
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!