So for the sake of keeping it simple, lets say I want to have 3 separate programs all display in a JTabbedPane
. Suppose they are all Hello World simple file in a JFrame
.
Lets use this simple file and create HelloWorld1.java
, HelloWorld2.java
and HelloWorld3.java
. They exist separately this way. BUT say I want to combine them into ONE JTabbedPane
- still keeping them separate. I am guessing I would need to create a project (lets say in Eclipse) and set up a JTabbedPane
in a forth file and add these? Can someone give me a demonstration of this so I can understand clearer how to go about this. Appreciate any help. Just really interested in what the main (forth) file might look like.