Original Post
Okay I am creating a two panels and adding them to a JFrame's contentPane. - one panel to the far right is a bunch of tabs - the other is the rest of the JFrame, this panel is used to draw on. The panel I wish to draw on is displaying a map which at times may be bigger than the screen of the user. So I need to be able able to scroll around the JPanel. I found JScrollPane and made it work with a JTextArea. However I cannot get the JScrollPane to work how I want for anything else. See if I set it up to have a JScrollPane parent the draw Panel, scroll bars NEVER appear no matter how much I resize the frame. If I start the Panel with a ridiculous preferred size (like 3000, 3000) I still see no ScrollBar even though the Panel is clearly not all being seen. Any advice? Edit: Also, I cannot get the two panels to stay together nicely or size properly. I cannot figure out how to in english tell it: "tab pane stay to the right, take up like 30% of the space, draw pane take up everything else but never extend past the tab pane, if you must then use scroll bars." -- That sums up my problem heh.