This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Ok, I have a class that is a JPanel subclass itself.
And I have a JFrame object that has as content pane a JScrolllPane that has a JPanel that holds 3 JPanels, one of them being the class itself.
The one for the class itself also got added scrolls to it.
The contentPane of the JFrame is called bigPanel. The JFrame is called jf.
The JScrollPane, I think of the entire thing, the content pane of the JFrame, is called jsp. (The JScrollPane with the class itself was a simple object with the new ScrollPane(.....,.....,.....)) and no name.
Though it has no components being added, though I might add JComponent or Canvas items later, right now I want to know how to make the size of everything be 5000, I made the JFrame be a bit bigger as it has a few other things. Anyway, it's not resizing and I can't scroll down. (I don't think a 5000 by 5000 screen would show up all in view at once.)
I wonder if the method setPreferredSize() was the other part I was looking for.