N
Novello
Hello,
Imagine to have a menu on the left loaded dynamically, each item has its
own command to run.
In the rest of window I have a tabPane where I have to load the class I get
from menu.
Menu gives me the name of the class to load for example win01
I have to get the ContentPane of this class and load it inside a new
TabbedPane
I tried with forName but I canno tcast it to a JFrame to get the
contentPane.
I know that the class I have to load is always a JFrame class.
Any ideas?
thank you all!
Imagine to have a menu on the left loaded dynamically, each item has its
own command to run.
In the rest of window I have a tabPane where I have to load the class I get
from menu.
Menu gives me the name of the class to load for example win01
I have to get the ContentPane of this class and load it inside a new
TabbedPane
I tried with forName but I canno tcast it to a JFrame to get the
contentPane.
I know that the class I have to load is always a JFrame class.
Any ideas?
thank you all!