Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
resizable Canvas or panel in scrollpane
Joined: Jun 25, 2012
Jun 26, 2012 06:41:22
I want to create
having Canvas or Panel. Now when i start entering data using drawstring(), height of Canvas or Panel should increase dynamically and scroll bar should be visible.
How can I implement such applet?
Please let me know even this can be achieved by using control other then Canvas or Panel.
Thank you in advance.
[Note: Cross-posted at
It is sorta covered in the
JavaRanch Style Guide
subject: resizable Canvas or panel in scrollpane
can't figure it out
why do this canvas is covering the entire area of the applet?
image in panel
Canvas vs Applet painting
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013