Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Overview and applet (Read 7046 times)
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Overview and applet
Jul 20th, 2007 at 7:35am
Print Post  
Hello,

Is it possible to use the JDiagram Applet and the Overview in a html page ?
If yes, how ?

Thanks

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview and applet
Reply #1 - Jul 20th, 2007 at 9:32am
Print Post  
Hello,

At this time there isn't an applet class available for the Overview. We can implement that in a few days and provide an overview applet with the JDiagram.jar.

If you can't wait, you might create your own applet by deriving from JApplet and adding an Overview instance as its child control.

Stoyan
  
Back to top
 
IP Logged
 
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Re: Overview and applet
Reply #2 - Jul 20th, 2007 at 9:41am
Print Post  
Hello,

I am interested by your overview applet.
I can wait until first days of August for your implementation.
Our product must be released on the first days of September.
So we bill buy JDiagram at this moment.

Regards

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview and applet
Reply #3 - Jul 25th, 2007 at 5:39am
Print Post  
Hi,

The jar here contains an OverviewApplet class:
https://mindfusion.org/_temp/OvwApplet.zip

The archive also contains a sample web page that displays the flowchart and overview applets.

Stoyan
  
Back to top
 
IP Logged
 
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Re: Overview and applet
Reply #4 - Jul 25th, 2007 at 7:42am
Print Post  
Thanks,

it works.

Regards

JR
  
Back to top
 
IP Logged
 
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Re: Overview and applet
Reply #5 - Oct 5th, 2007 at 9:22am
Print Post  
Hi,

I am trying to use your 2 applets (flowchart and overview) in 2 differents html frames. It does not work well. I have a problem to link the overview to the flowchart.

So, I tried to put the last JDiagram.jar (1.2.2) in the sample you gived me in july. It does not work. All the graphs are empty (I think that the string used to load the flowchartapplet is not compatible).

Have you changed something since the first version of the overviewApplet ? Is there some new events like OverviewAppletStarted

Regards

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview and applet
Reply #6 - Oct 5th, 2007 at 11:31am
Print Post  
Hi,

Try using the method shown here:
http://www.mind-fusion.com/jdiagram/Overview.html

You must call the Overview.setDocument() method only when you are sure both applets have been loaded. E.g. handle the AppletStarted event of both applets, and increment some counter in the handler function. When the counter becomes 2, you should be able to link the overview to the flowchart.

Stoyan
  
Back to top
 
IP Logged
 
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Re: Overview and applet
Reply #7 - Oct 10th, 2007 at 1:36pm
Print Post  
Hi,

I return to this subject.
I have done what you told me.

Here is my problem.

I have 1 jsp page containing 3 jsp frames.
1 jsp frame have the flowchart applet.
1 jsp frame have the overview applet.
This 2 frames are linked with the overview.setDocument(flowchart).

When I am in dynamic mode, ie the jsp frames are generated by apache tomcat, it does not work.

I have the following errors in the java console:

java.lang.Exception: setDocument{0} : cette méthode n''existe pas

at sun.plugin.com.JavaClass.getMethod1(Unknown Source)

at sun.plugin.com.JavaClass.getDispatcher(Unknown Source)

at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)

at sun.plugin.com.DispatchImpl$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.plugin.com.DispatchImpl.invoke(Unknown Source)

at sun.plugin.com.DispatchClient.nativeInvoke(Native Method)

at sun.plugin.com.DispatchClient.invoke(Unknown Source)

at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)

at sun.plugin.javascript.ocx.JSObject.call(Unknown Source)

at com.mindfusion.jdiagram.OverviewApplet.a(Unknown Source)

at com.mindfusion.jdiagram.OverviewApplet.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
java.lang.Exception: java.lang.Exception: setDocument{0} : cette méthode n''existe pas

at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)

at sun.plugin.com.DispatchImpl$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.plugin.com.DispatchImpl.invoke(Unknown Source)

at sun.plugin.com.DispatchClient.nativeInvoke(Native Method)

at sun.plugin.com.DispatchClient.invoke(Unknown Source)

at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)

at sun.plugin.javascript.ocx.JSObject.call(Unknown Source)

at com.mindfusion.jdiagram.OverviewApplet.a(Unknown Source)

at com.mindfusion.jdiagram.OverviewApplet.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

"Cette méthode n'existe pas" means "this method does not exist".

When the frames are in html mode (not jsp) and are statics, it works even if i use tomcat to display the frames or doubleclicking in the internet explorer.

I don't understand !!!

Do you have an idea about this ?????????

Thanks

JR

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview and applet
Reply #8 - Oct 10th, 2007 at 3:25pm
Print Post  
Hi,

Please email the HTML code generated from the JSPs to support@mindfusion.eu

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint