I have read the API and looked at examples but its not answering my question. Which layout would treat a panel as its own entity. Meaning if I made a method that made a matrix of buttons using GridLayout and returned that panel. Then called the method onto a frame and the buttons would not spread out all over the frame. They would simply stop at the dimensions of the panel.
Am I looking for something that is not possible?