File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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,

if you are okay with ready-made libraries take a look at JGraph

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:
subject: custom paint component
It's not a secret anymore!