I hope You all used microsoft calculator i Windows Vista or Windows 7. When You click on "view" option in menu bar and under worksheets when you click any option, the Frame expands.
I want to know that will i able to do that with java. If yes, please suggest how will i do it.
One way is to add or remove JPanels, but remembering to call revalidate and repaint on the containing JPanel. For an example of this, please have a look here: http://www.java-forums.org/new-java/...switching.html
Thank You Fubarable
It was really helpful.