This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes re: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "re:" Watch "re:" New topic
Author

re:

Bo Stephenson
Greenhorn

Joined: Jul 30, 2012
Posts: 3
thanks for the warm welcome and this is what i mean.

I have a JFrame GUI(editor.java), and inside my jframe i have a jinternalframe, i want my jinternalframe to load a different class inside it(MapEditor.java)

how would i do this?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Bo Stephenson wrote:i want my jinternalframe to load a different class inside it(MapEditor.java)


You don't load classes in an internal frame, you add Components. Read the API for JInternalFrame (not jinternalframe) and follow the link to the tutorial on How to Use Internal Frames. Go through the exercises there and oyu'l know just about as much as anybody about using internal frames!

Additionally, MapEditor.java is a source file. The class defined there would be referred to as MapEditor. (And the compiled file would be MapEditor.class.)


luck, db
There are no new questions, but there may be new answers.
Bo Stephenson
Greenhorn

Joined: Jul 30, 2012
Posts: 3
mapeditor is also a GUI is there anyway i can have it load inside my editor gui?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: re:
 
Similar Threads
Creating modal in JInternalFrame
Close currently opening JFrames which are opend in JInetrnalFrame
Putting a JTabbedPane in a JInternalFrame
JFrame in a JFrame?
JInternalFrame to get Focus