Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

custom paint component

 
Carlos G�mez
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have test jgraph and is a good library,

thank you a lot.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic