Currently I'm having a container to list all the (JPanel
) panels in a scroll pane. The function that I'm trying to accomplish is trying to reorder the panels. For example: moving the 2nd panel to the first, then moving the 3rd panel to the last spot. Currently I'm thinking using the Containers Index and moving them in the data layer.
What is a good way to represent the moving in the GUI form?
The only idea I have is putting up and down arrows in on the panel. Which doesn't look so pretty, and very messy when you have like 100+ panels.