I have a JScrollPane that I can't seem to slap a horizontal scroll bar onto. Here's my code for my JScrollPane...
This scroll pane is sitting in a JPanel that has a layout of BorderLayout. Does that make a difference? When the table is populated with data, is sizes all of the columns so they fit within the panel. When the user expands one of the columns, I want them to be able to scroll horizontally. What am I doing wrong? Thanks for any help!
That worked, however, now my columns are all scrunched together. How can I still have my scrollbar appear, but have the columns as wide as the column headings. Or, how can I specify what the column width is supposed to be for a particular column? Thanks again!