This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
subject: custom paint component
Similar Threads
How to declare multiple message bundles in Faces-config.xml
Custom component
Adding JComponent in Paint
Java Graphs
Generating <script> tag from Custom JSF Tag