Single JFrame for Dinamic Contents Window
Hello, is it possible to make only 1 jframe contains many items (button, radio, etc.) and when i press next button, the contains of jframe changing? It is like WIndows appliciation installer, just next-next-next.
Until now, I create new jframe and link to another jframe bu new framename().setVisible(true). So, there is so many jframes in my single project. Anybody can give me suggestion?
I wanna create application such as encyclopedia (or like Ubiquity in Linux if you know :) ). Thank you...
Re: Single JFrame for Dinamic Contents Window
Look at the CardLayout class.
Re: Single JFrame for Dinamic Contents Window
Can you give me an example? Simple example, simpler than the Oracle one? Thank you :)
Re: Single JFrame for Dinamic Contents Window
Sorry, my example is the one from the tutorial.
Re: Single JFrame for Dinamic Contents Window
Ooh, so you are the Oracle Documentation Team? So thank you.
Re: Single JFrame for Dinamic Contents Window
Of course not. The tutorial has many useful pieces of code. I use them instead of writing my own.