Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic nw (Read 2124 times)
superNova
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Aug 5th, 2011
nw
Sep 1st, 2011 at 9:58am
Print Post  
i want to create network diagram through help jdiagram. as we can create shapnode so is there anyway to  put some icon (like computer , lan , router , hub , switch  ) those , which we found in some software.
is there anyway so guide us
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: nw
Reply #1 - Sep 1st, 2011 at 10:29am
Print Post  
You can call node.setImage(ImageIO.read(...)) to load an icon into the node. Optionally call node.setTransparent(true) to hide the node's shape and leave only the image and text visible.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint