Article View: borland.public.jbuilder.java.language
Article #19097Re: opening an HTML page from Java Application
From: Andrew Bennett [ Borland ]
Date: Fri, 13 Mar 1998 00:00
Date: Fri, 13 Mar 1998 00:00
32 lines
1787 bytes
1787 bytes
Alex Humphreys wrote: > > Is it at all possible to open an HTML page from a Java Application (say, > click on an About button and my company's web page pops up in IE...). > Does this get into RMI and JNI and all that other stuff I don't > understand? Where can I find out about it? > > See, I'm looking for a) ways to open a good Help screen and b) > alternative ways to print a report (since I'm having trouble doing it in > Java) and HTML suits my purposes fine. If you think it'd be easier to > just pound these things out in Java, then please tell me! Your Java application might have some setting that points to an installed browser. Say, c:\netscape\netscape.exe. Then, you could call .exec(), pass the string of where the browser is, and add a parameter of a html file or a URL to load. Andrew -- Andrew Bennett abennett@borland.com Due to my workload, personal email more than likely won't get a reply. Support options are detailed at http://www.borland.com/devsupport/ I am unable to answer support questions via email at this time. Check http://www.borland.com/devsupport/jbuilder/ for FAQs and additional JBuilder support related help.
Technical Details
Message-ID:
<3509C775.AF568626@borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3509AB20.25BE9BFB@sema4.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,90a2d9a09e605ed3 X-Google-Attributes: gidf74b3,public From: "Andrew Bennett [ Borland ]" <abennett@borland.com> Subject: Re: opening an HTML page from Java Application Date: 1998/03/13 Message-ID: <3509C775.AF568626@borland.com> X-Deja-AN: 333836444 Content-Transfer-Encoding: 7bit References: <3509AB20.25BE9BFB@sema4.com> Content-Type: text/plain; charset=us-ascii Organization: Borland JBuilder -- http://www.borland.com/jbuilder/ Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language