Can anyone please provide the solution to add minimize and close buttons to each panel ., embedded in a frame...
Close Button to Panel
Collapse
X
-
As part of the project , in one of the modules ., i have 4 panels . In one panel i have a tool bar and in another panel i have a JeditorPane and so on .. so i need the functionality to close and minimize each panel.Originally posted by JosAHAre you sure you don't want JInternalFrames in a JDesktopPane?
kind regards,
JosComment
-
You can't 'minimize' JPanels and when you close them you'll mess up the layoutOriginally posted by aryan24As part of the project , in one of the modules ., i have 4 panels . In one panel i have a tool bar and in another panel i have a JeditorPane and so on .. so i need the functionality to close and minimize each panel.
of the other panels (if they're stored in the same JFrame). You either need to
store your editor and toolbar in a JFrame or JDialog or in a JINternalFrame as I
suggested earlier.
kind regards,
JosComment
Comment