I suspect the real issue was attempting absolute placement and sizing using the size of the JFrame instead of that of its contentPane. And if my suspicions are correct, then I have to say: don't use setBounds(...). Use an appropriate layout manager or a combination of them.
The bottom part of the scroll bar is not visible within my JFrame.
For me, I understand :
is not only a piece of horizontal scrollbar. When auto-resize is off, right part of the scrollbar (vertical scrollbar) is visible but not bottom part.
The bottom part of the scroll bar is not visible within my JFrame
How can I have a JTable in a JScrollPane with horizontal scroll bars?
If autoResizeMode is set differently, the JTable automatically resizes itself to the width of the JScrollPane.
ref : http://www.chka.de/swing/table/faq.html
I have played with the height parameter of 'setBounds' for both the JTable and JScrollPane but neither seems to bring the bottom of the scroll bar into view.
@Dennis : It's possible that I have no understand the question, but for me, Darryl doesn't see the horizontal scrollbar.
@Darryl : Can you give us your code and a printscreen of your problem if I don't understand your problem ?
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
Rocket Oven Kickstarter - from the trailbosshttps://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss