Hi,
I'm drawing some stuff in a JPanel, while drawing, some of the things drawn are outside the size of the panel, I was hoping to use a ScrollPane to handle this. While drawing I try and change the bounds of the panel setSize() setBounds(). When I put the panel into the ScrollPane it never works. The size of the JPanel is always reduced to just less then the size of the ScrollPane so I loose everything outside the bounds.
HELP!!!
Thanks
I'm drawing some stuff in a JPanel, while drawing, some of the things drawn are outside the size of the panel, I was hoping to use a ScrollPane to handle this. While drawing I try and change the bounds of the panel setSize() setBounds(). When I put the panel into the ScrollPane it never works. The size of the JPanel is always reduced to just less then the size of the ScrollPane so I loose everything outside the bounds.
HELP!!!
Thanks