Question

I am working on a swing application, and i want to add a functionality and i don't know how to do it. A part of my main frame contains a panel, which contains buttons to access other frames, and i want to add some enhancements to it, this is the picture of the panel:

enter image description here

And the functionality that i want to add is, when i click on the Appel d'offre button, i want it to list a list of the other buttons, in other words i want to group all the buttons in one. i looked for an example to make it clear, here is a photo of Sage software:

enter image description here

So how am i suppose to do it, what is the components that i have to add to make it work? i hope that i clarified my question.

Was it helpful?

Solution

These controls called ExpandBar or Collapsible panel.

Swing does not provide this type of control, but you can create your own.

Also the swingx library provide one for example. Guess google could help you to find more with these terms.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top