This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hello All! I have a JPanel with many other panels added to it in Grid Layout. I have added this main panel to a JScrollPane. The number of panels added to the grid can be determined only during run time. So I have set the height of the JScrollPane to this run time variable. Everything goes well except for the "down arrow" button in the Scroll Bar. It is not visible. I know not what to do. Please help!!! Thanks.
Check to make sure you are only dynamically setting the size of your JPanel that holds your other JPanels. Not your JSCrollPane. Sounds like you are setting it too large for the screen. Your scroll pane should be a fixed size no matter what.
------------------ Happy Coding, Gregg Bolinger
Priya Kannan
Ranch Hand
Joined: Jan 19, 2001
Posts: 72
posted
0
Thanks a Million Gregg!!! Your reply was an eye-opener.