How to use JScrollPane and JViewPort?
Author |
Message |
giuseppe105
|
Posted: Thu Jan 28, 2010 10:57 pm Post subject: How to use JScrollPane and JViewPort? |
|
|
I have a program.
There is a ScrollPane and inside that scroll pane is a JPanel. inside the Jpanel i am useing paint to call g.drawImage. how do i make the scroll bars work with my image i looked at the littel to no documentation and i think i need to set a viewport.
Dose anyone on this forum know how to make a view port or how to use jscrollpane for what i am trying to accomplish? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
|
|