Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic java-applet inside a shapenode (Read 2807 times)
hans
Junior Member
**
Offline


I Love MindFusion!

Posts: 81
Location: Netherlands
Joined: Mar 17th, 2012
java-applet inside a shapenode
Apr 15th, 2012 at 10:56am
Print Post  
I have read somewhere that the contents of a shapenode can be a java-applet.
How would this be done ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: java-applet inside a shapenode
Reply #1 - Apr 16th, 2012 at 6:32am
Print Post  
At this time there is control-hosting feature in our WPF, Windows Forms and ActiveX components, where you can use standard or custom controls as nodes. I'm afraid this is not supported in JDiagram yet, but as far as I know our developers are just implementing it in Java too.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: java-applet inside a shapenode
Reply #2 - Apr 23rd, 2012 at 6:58am
Print Post  
Hi,

With this version you should be able to use any object derived from java.awt.Component as a node, including JApplet instances:
http://mindfusion.eu/Forum/YaBB.pl?num=1334931471

Note that for applets you will also have to implement the AppletStub interface, and call the applet's setStub, init, start and stop methods.

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