I have a bit of a problem. I have a custom component class that consists of JTextBoxes and JButtons in a JPanel and I need to make a visual list of these inside a scroll pane. The components need to have the ability to be added/changed/deleted to the list at run time, and clicks need to be able to reach the buttons inside the components. As for layout, I need each component to only take up the space needed by its internal text/buttons, and be centered at the top left corner (or at the bottom of the previous component).
I have tried using every layout manager, using JList, and using JTable, but I just can't get what I'm looking for.
Thanks for any help,
Chris
Edit:
Design

[ November 27, 2007: Message edited by: Chris Waguespack ]