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
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: resizable Canvas or panel in scrollpane
why do this canvas is covering the entire area of the applet?
Canvas vs Applet painting
image in panel
can't figure it out
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013