Im creating a project in java using netbeans. I have to create lots of forms for every operation.
So i created a menubar and add menu items in it. Instead of creating so many jframe forms i decided to create JPanel forms for evry operation. So in this way i can add one panel in the main frame on clicking the menu item.
After i click another menu item, i should be able to remove the prevoius panel from main jframe and add another panel to it..
but i cant do it.
i want to do it in netbeans only
can u tell me how to do it using netbeans???
is their any method of how to do it?
plzz show me wid example...
plzzz....
Darshan5
0
Newbie Poster
Recommended Answers
Jump to Postwhat do you mean "in netbeans only"? you mean using the gui builder?
in that case, I would advice against it. it'll generate crappy code that's near to impossible to maintain (in a good way).
what ide you use is irrelevant. use the setVisible method.
All 3 Replies
stultuske
1,116
Posting Maven
Featured Poster
Rajshri Patil
-6
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.