T
testing1234567891011
I'm making a Swing application with Java 5.0 that is constantly
updating pixel-sized custom components on a JPanel from the top of the
panel downwards. When the updates get to the bottom, I would like to be
able to scroll the image that has been created by the updates upwards
and continue to update it at the bottom. How can I create a snapshot of
a section of a JPanel, and repaint it at another location (x, y+1) so
as to scroll the image?
Thanks in advance,
Rob
updating pixel-sized custom components on a JPanel from the top of the
panel downwards. When the updates get to the bottom, I would like to be
able to scroll the image that has been created by the updates upwards
and continue to update it at the bottom. How can I create a snapshot of
a section of a JPanel, and repaint it at another location (x, y+1) so
as to scroll the image?
Thanks in advance,
Rob