After some printlns inside the while loop I came up with this:
Width is: 0
Height is: 262
Width is: 0
Height is: 235
Width is: 0
Height is: 188
Width is: 0
Type: Posts; User: javapenguin
After some printlns inside the while loop I came up with this:
Width is: 0
Height is: 262
Width is: 0
Height is: 235
Width is: 0
Height is: 188
Width is: 0
I thought paintComponent was a protected method.
----Edit-----
It appears to draw a line across the screen of the window. What should it be doing?
I'm wondering if it's going wrong about...