I loop through and make some JButtons but they don't display the correct names. Here is what is showing on each button.
and here is the code
As you can see i've done a lot of debugging and trying different approaches but nothing works. All I want are these buttons in the header of my JTable with the specified labels.
P.S. Swing is new to me, if someone could recommend a good reference that would be great.