File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display a Frame in a frame

 
Sofie Deceuninck
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I push the button I want to make a new frame, but that must be openend in the original frame namely Test_hotelreservation. How is this possible?

Thanks for the replies in advance!
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't add one Frame inside another... Swing adds the ability to do this by using JDesktopPane/JInternalFrames (link to tutorial here) but there is no way to do this in AWT. Not without doing it all yourself by faking the internal frames with custom Panels, etc. and doing a lot of work yourself.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic