Java2D not scrolling.

I am drawing into a JComponent with the Java2D calls.This JComponent is placed in a JSrollPane. As thedrawing *** the JComponent grows, I do not get myscroll bars.Am i missing something?Thanks,Gary
[253 byte] By [gwoodbridge] at [2007-9-26 12:43:00]
# 1
try resizing JComponent like ;//for exampleJComponent jCom ;jCom.setPreferredSize(new Dimension(500,500));jCom.revalidate();And look at java's tutorial web sitethanx Fatih KAYALI from ISTANBUL
kayalif at 2007-7-2 12:08:34 > top of Java-index,Security,Cryptography...
# 2
Also, make sure you setPreferredSize(int, int) of your JScrollPaneCheers,patrick
porp at 2007-7-2 12:08:34 > top of Java-index,Security,Cryptography...