Like I have mentioned, you need to show some efforts. It is OK to make mistakes and end up baffled. That is how you learn. Each and every member of this forum has been through that phase before and believe me this approach is the best.
So why dont you try out something on your own and post the code here if you run into some problem? Believe me the ranchers will be more than happy to help you fix it. You might just pick up some pointers too...and all this for free! Amazing isnt it?
Waiting for your code snippets. (Dont forget to use the CODE tags!)
To start with, please use code tags. You click the CODE button at the bottom and place your code inside the tags. This makes it much easier for others to read.
Now to your actual code. What exactly are you trying to achieve here?
Do you want to display a new tab to the tabbed pane? If yes, you need to use JTabbedPane#addTab in your actionPerformed.
Do you want to replace the tabbed pane with the hidingPanel? If yes, you need to do something like this:
Notice the code formatting with the code tags
There are some other problems with your code too like naming conventions (e.g. hidingPanel should be called getHidingPanel and access modifiers (all your instance variables are default) and other things such as
You should be using
Let us do one thing at a time. So what exactly are you trying to do with your code?
Joined: Jul 07, 2008
Thank you for your earlier response . now i got the solution