I am attempting to display data within JTable objects where the JTables provide verticle and horizontal scrollbars when exceeding the preferredScrollableViewPortSize. I've done this many times when designing the UI myself, but I haven't quite figured out the necessary steps using the GUI Builder.
I am successful displaying a JList within a JScrollPane, but have not been able to configure a JTable the same way. When you add a JList object over a JScrollPane, it will take the shape/size of the JScrollPane selected, a JTable will not; is this something by design, or are there additional JTable attribute settings required to achieve this?
If anyone can help, or lead me in a new direction, it would be greatly appreciated.