Article View: borland.public.jbuilder.java.language
Article #8645Re: Calling applis from an appli
From: icsd.jt
Date: Mon, 05 Mar 2001 10:58
Date: Mon, 05 Mar 2001 10:58
40 lines
2679 bytes
2679 bytes
Still thank you to help me Unfortunatly, I am beginner with JB4 and do not manage to put in pratic your 2 suggestions : Jbuilder Library ? how, with wich file and with wich method? Same questions with Reflexion API Please, can you be more precise or indicate to me where in JB4 I can find these reponses. Regards , Jacques "John McGrath [TeamB]" <ng-b@JPMcGrath.net> a οΏ½crit dans le message news: MPG.150d0f0263dfc82d98a00b@forums.borland.com... > On Mon, 5 Mar 2001 08:12:26 +0100, icsd.jt@wanadoo.fr wrote: > > > Can you me specify how to call Zones in Mmenu. > > I have try > > Zones.CadZ(); // CadZ is the main method of the appli Zones > > Zones.main() ..... > > but F9 say always to me > > variable Zones is unknow in class Mmenu > > (with or without import Zones; ) > > If you are going to directly reference the class Zones from the Mmenu > class, you will need to add the Zones class to your Mmenu project. You > probably want to do this using a JBuilder library. > > The other way to use the Zones class from Mmenu would be to use the > Java Reflection API. That will allow you to load the Zones class and > execute its methods based on a string that contains the class name. > This technique would allow you to create a more general menu program, > since it does not require that the applications that it runs be known > at compile time. > > -- > Regards, > > John McGrath [TeamB] > > --------------------------------------------------- > Before sending me e-mail, please read: > http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<3aa3701a$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!193.252.62.85References:
<3aa0a077_1@dnews> <MPG.150a9aa7fc92fce5989ffc@forums.borland.com> <3aa10cea$1_2@dnews> <MPG.150b85684df4a28498a003@forums.borland.com> <3aa33b30_1@dnews> <MPG.150d0f0263dfc82d98a00b@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,ec6af10449d9afc3 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-05 03:02:09 PST Reply-To: <icsd.jt@wanadoo.fr> From: <icsd.jt@wanadoo.fr> Newsgroups: borland.public.jbuilder.java.language References: <3aa0a077_1@dnews> <MPG.150a9aa7fc92fce5989ffc@forums.borland.com> <3aa10cea$1_2@dnews> <MPG.150b85684df4a28498a003@forums.borland.com> <3aa33b30_1@dnews> <MPG.150d0f0263dfc82d98a00b@forums.borland.com> Subject: Re: Calling applis from an appli Date: Mon, 5 Mar 2001 11:58:12 +0100 Lines: 42 Organization: ICSD - JaC X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 193.252.62.85 Message-ID: <3aa3701a$1_2@dnews> X-Trace: 5 Mar 2001 02:53:14 -0800, 193.252.62.85 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!193.252.62.85