*
The moose likes Swing / AWT / SWT and the fly likes custom paint component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "custom paint component" Watch "custom paint component" New topic
Author

custom paint component

Carlos G�mez
Ranch Hand

Joined: Sep 06, 2006
Posts: 56
Hi ranchers.
Anyone can i help me ?

i need to make a swing editor like "Netbeans MIDP Flow Designer" or like a "UML editor" for join lines with custom components but i don't know how can i paint, drag and drop, MOVE on the screen a custom component (maybe a rectangle with 2 lines and text inside)

How can i make that kind of component ?
is there a tutorial that can i help me ?

Thanks in advance.
[ December 23, 2006: Message edited by: Carlos G�mez ]
Terry Ong
Ranch Hand

Joined: Apr 07, 2006
Posts: 50
for custom paint components, i think you can look into the sources of Jamper, http://jamper.sourceforge.net/

if you are okay with ready-made libraries take a look at JGraph http://www.jgraph.com/

Hope this helps.
Carlos G�mez
Ranch Hand

Joined: Sep 06, 2006
Posts: 56
I have test jgraph and is a good library,

thank you a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: custom paint component