godcomplex
Programmer
Hello Everyone,
I have a JFrame with a JScrollPane set as its content pane. The viewport view for the scroll pane is set as a panel, with a number of labels, buttons, lists, etc. added to it. The problem is, when I make the window smaller than the panel with all of the components, I don't get the scroll bars like I would expect.
I know there probably something really dumb that I am forgetting to do, but does anyone have any ideas how to get this to work. BTW, I can post a little code if some of you think that may help, but its pretty straight forward.
-gc "I don't look busy because I did it right the first time."
I have a JFrame with a JScrollPane set as its content pane. The viewport view for the scroll pane is set as a panel, with a number of labels, buttons, lists, etc. added to it. The problem is, when I make the window smaller than the panel with all of the components, I don't get the scroll bars like I would expect.
I know there probably something really dumb that I am forgetting to do, but does anyone have any ideas how to get this to work. BTW, I can post a little code if some of you think that may help, but its pretty straight forward.
-gc "I don't look busy because I did it right the first time."