posted 23 years ago
Hi Elizabeth,
I am not exactly sure what you are doing. But a frame, by default, uses a BorderLayout manager. A BorderLayout only supports a single component in each of its sections. In your discussion you mentioned that you are placing 2 components into the Center (Panel and JInternalFrame). Since you can only have one, maybe you had better remove the Panel when you add the JInternalFrame.
NOTE: JInternalFrame is really designed for JDesktopPane to allow for overlapping components, etc.
Regards,
Manfred.