| Author |
draw item
|
mark smith
Ranch Hand
Joined: Apr 05, 2005
Posts: 240
|
|
hi
i would like to draw some entity like powerdesigner, windesign... do
like when an uml program draw class....
what is the best way in java to do that?
thanks
|
 |
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
|
posted

0
|
if the main problem is the connecting lines, try searching for pre-existing code.
there have been several threads in this forum, here's a couple of them.
http://www.coderanch.com/t/344279/Swing-AWT-SWT-JFace/java/Drawing-lines-between-JPanels-JInternalFrames#1512509
http://www.coderanch.com/t/344586/Swing-AWT-SWT-JFace/java/anybody-help#1513588
|
 |
mark smith
Ranch Hand
Joined: Apr 05, 2005
Posts: 240
|
|
i would like to know the way who are the more powerfull to draw item ?
|
 |
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
|
posted

0
|
> i would like to know the way who are the more powerfull to draw item ?
not sure what you're asking here.
if it's about the information boxes - they could be JInternalFrames (if you want to drag-resize them),
or they could be JPanels.
|
 |
 |
|
|
subject: draw item
|
|
|