posted 15 years ago
You never add the new InFrame2 instance to any JDesktopPane. You'll need to give InFrame1 a field of type JDesktopPane, set in its constructor, that it then uses. A quick-and-dirty version (all classes are made non-public so they can fit in one file; look for lines with "// change here"):