Applet

M

Miguel De Anda

Does anybody know of a place where I can get sample code to do the
following:

Create a Swing/Awt/Applet that lets a person add shapes to the canvas and
then move/size them with the mouse? If using the mouse to move/size them is
too difficult, I don't mind have a few fields where they set the
coordinates.


I guess maybe a simpler question would be, what's the easiest way to have
multiple shapes on a canvas and move one of them without having big nasty
flickers.
 
G

Gary Thomas

I usually just redraw the whole image, and it's fast enough for me. If
you have a really complex image I could see refreshing a portion, but
it really depends on what your needs are. I'd try without it first.


Good luck,

Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top