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)
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
posted
0
mapeditor is also a GUI is there anyway i can have it load inside my editor gui?