diff options
author | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-16 15:17:51 +0000 |
---|---|---|
committer | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-16 15:17:51 +0000 |
commit | 48d852fd2be2d7e5400cf9c79a8436262c295f87 (patch) | |
tree | 0bc396ae364ca153e7a25a09f53003d7aea16360 /TAO/examples | |
parent | f613d9e51add2f119c565e3501ec2a47a6f7aa8c (diff) | |
download | ATCD-48d852fd2be2d7e5400cf9c79a8436262c295f87.tar.gz |
Enhancements to be able to work with the JDK 1.2
Diffstat (limited to 'TAO/examples')
4 files changed, 10 insertions, 11 deletions
diff --git a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html index c7410019908..5502857d548 100644 --- a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html +++ b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html @@ -6,8 +6,8 @@ </HEAD> <BODY> -Note: The gatekeeper must run in the DOVEBrowser directory! -Note: The IORs are different for each machine! +Note: When used with Visibroker, the gatekeeper must run in the DOVEBrowser directory! +Note: The IORs are different for each machine! So exchange the IORs below. NT Name Service IOR @@ -16,15 +16,14 @@ NT Name Service IOR Unix Name ServiceIOR <PARAM NAME="NSIOR" VALUE="IOR:000000000000002049444c3a436f734e616d696e672f4e616d696e67436f6e746578743a312e3000000000010000000000000042000100000000000674616e676f00953f0000002e5033353265623733353030306533653133526f6f74504f412f6368696c645f706f612f4e616d6553657276696365"> -Use this to run it with the appletviewer +Use this to run it with the appletviewer and Visibroker <param name=org.omg.CORBA.ORBClass value=com.visigenic.vbroker.orb.ORB> Use this to run it within Netscape <param name=USE_ORB_LOCATOR value=true> <APPLET code="DOVEBrowserApplet.class" width=700 height=600> -<param name=org.omg.CORBA.ORBClass value=com.visigenic.vbroker.orb.ORB> -<PARAM NAME="NSIOR" VALUE="IOR:000000000000002049444c3a436f734e616d696e672f4e616d696e67436f6e746578743a312e3000000000010000000000000042000100000000000674616e676f00953f0000002e5033353266383364653030306364306437526f6f74504f412f6368696c645f706f612f4e616d6553657276696365"> +<PARAM NAME="NSIOR" VALUE="IOR:010000002000000049444c3a436f734e616d696e672f4e616d696e67436f6e746578743a312e30000100000000000000520000000101000015000000636f727269646f2e63732e777573746c2e65647500003a272e0000005033353265633733313030303537613538526f6f74504f412f6368696c645f706f612f4e616d6553657276696365"> </APPLET> </BODY> diff --git a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java index fc653f45c1d..99830e408e7 100644 --- a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java +++ b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java @@ -22,9 +22,9 @@ public class DOVEBrowser { super (); } - public void init (String nameServiceIOR) { + public void init (String nameServiceIOR, String[] args) { - demoCore_ = new DemoCore (nameServiceIOR, null); + demoCore_ = new DemoCore (nameServiceIOR, args, null); demoCore_.show (); demoCore_.run (); } @@ -39,7 +39,7 @@ public class DOVEBrowser { } DOVEBrowser doveBrowser = new DOVEBrowser(); - doveBrowser.init (nameServiceIOR); + doveBrowser.init (nameServiceIOR, args); } } diff --git a/TAO/examples/Simulator/DOVEBrowser/DemoCore.java b/TAO/examples/Simulator/DOVEBrowser/DemoCore.java index 376a0fb6c98..10707e51ec3 100644 --- a/TAO/examples/Simulator/DOVEBrowser/DemoCore.java +++ b/TAO/examples/Simulator/DOVEBrowser/DemoCore.java @@ -29,7 +29,7 @@ public class DemoCore extends Frame { private GridBagLayout gridbag_; private GridBagConstraints constraints_; - DemoCore (String nameServiceIOR, java.applet.Applet applet) { + DemoCore (String nameServiceIOR, String[] args, java.applet.Applet applet) { super (); setSize (600,400); @@ -45,7 +45,7 @@ public class DemoCore extends Frame { // Instantiate the DataHandler and the PushConsumer dataHandler_ = new NavWeapDataHandler (); - pushConsumerFactory_ = new PushConsumerFactory (dataHandler_, nameServiceIOR, applet); + pushConsumerFactory_ = new PushConsumerFactory (dataHandler_, nameServiceIOR, args, applet); // List of Visualization Components vis_comp_list_ = new java.util.Vector(); diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java b/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java index d808027b9de..120179c30de 100644 --- a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java +++ b/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java @@ -1,4 +1,4 @@ -// $Id $ +// $Id$ // // ============================================================================ // |