wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes draw item Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "draw item " Watch "draw item " New topic
Author

draw item

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
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
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: 250
Michael Dunn wrote: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


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
> 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: draw item