File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Dynamic child communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Dynamic child communication" Watch "Dynamic child communication" New topic
Author

Dynamic child communication

Robert Patrizio
Greenhorn

Joined: May 06, 2011
Posts: 1
Background: I have a JPanel (PanelCarga extends JPanel) that displays as many sub-JPanels (DatosArchivo extends JPanel) as files I wish to open (n DatosArchivo panels) in my program for diferent purposes. This DatosArchivos contains a "X" button that I wish it to closes this DatosArchivos panel and then informs to the corresponding PanelCarga that it have been closed so that can reorganize in his grid the remaining n-1 DatosArchivo panels.

Tha PanelCarga Class:



And the DatosArchivo Class:


Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic child communication
 
Similar Threads
return three values from a while loop
Problem in adding Jpanel to JFrame (Updated)
Java app with database
GUI from eclipse/WindowsBuilder not WYSIWYG
Swing GUI tool generated code, newbie stuck :(