Java drawing editor applet
I'm looking for a Java Applet which allows the user to draw rectangles, resize them, move them etc, similar to svg-edit http://code.google.com/p/svg-edit/
It will be for academic non 开发者_如何学Ccommercial use. Can anyone point me to a good, open source, Java drawing editor applet?
The best applet I know of, with source available, is draw4free.
- Applet
- Website
- Source code
If you are looking for inspiration, there's a few listed here but most don't have the source available.
If you are less fussed about it being an applet, there's a list of those too (most with source) and you could also check out:
- jHotDraw which is based on a formerly commercial project
- JDraw and Pixelitor, although they are about editing bitmaps rather than shapes
- Sketcher (discontinued)
- The imaginatively titled "draw" which looks like a very simple option
There's loads of examples out there. I got some of this by searching Sourceforge/Google.
GraphPanel
is a java-web-start application, rather than an applet.
Addendum: JGraph
is a more full-featured object drawing environment.
http://sourceforge.net/projects/terppaint/
You can use above open source project built using Java Swing and customize it based on your requirements.
精彩评论