Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

InternalFrame Listener  RSS feed

 
Gregg Bolinger
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.
 
Sergei Voropay
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...
 
David McCormick
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!