How to make a JFrame with a scroll?

I make a class extends JFrame,and make a size,such as 700*600,then I draw some grids in it,this size of 700*600 can't include all my grids,I mean when the size can't include all my grids,I hope it can appear row and col scroll bar. Is it possible in JFrame?

Any idea will be appreciated!

Edward

[315 byte] By [EdwardKinga] at [2007-10-2 9:13:41]
# 1
Not sure I unerstand the question. But I think you can use a JScrollPane component , initalise it with your display image and add it to your main frame or panel.
minteaa at 2007-7-16 23:20:45 > top of Java-index,Security,Cryptography...