Hi,
I have spent the last couple of days searching the web trying to find a solution to what no doubt is a simple problem, and have finally given up. What I am trying to do is lay out a touch panel with a JPanel across the top with several buttons on it, then a navigation bar down the side with different buttons, and then a content area making up the rest of the frame. What I am trying to do is have the navigation bar at the side show only 5 buttons at a time, and I want to be able to scroll down to see additional ones. It seems no matter what I do I can't get the scroll bar to show up. Here is the code of the class that builds the bar and adds it to the application JFrame:
When I uncomment the scrollPane.add the entire NavBar disappears. Any help would be greatly appreciated!!