🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #1199

Re: HTML within Java?

#1199
From: Dion Gillard
Date: Sun, 11 Jul 1999 00:00
29 lines
1538 bytes
[This followup was posted to aus.computers.java and a copy was sent to 
the cited author.]

In article <danielt-0907992124110001@192.168.0.17>, danielt@ihug.com.au 
says...
|  Hi,
|  
|  Just wondering if anyone can give me any pointers on how Id go about
|  displaying HTML within a Java Application/Applet.
|  
|  Am I crazy?

No, but since you're in a browser, why not use it?

|  Are there third party packages availible?

Yes, Sun's HotJava HTML component, ICEsoft's ice browser (best), Swing's 
JTextPane and many others.

|  Are there built in classes that will do it?

To 1.1, no...1.2 (aka Java 2) yes.

|  It doesnt have to be anything too powerfull. Im not looking to rewrite
|  netscape. But it would help me no end if I could send an HTTP request from
|  within a program and display the relativly simple HTML it returns (a table
|  is about the most complicated thing I need to display).

Why not just use showDocument()?
Technical Details
Message-ID: <MPG.11f1eb30e4ce1d249896aa@news.ozemail.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <danielt-0907992124110001@192.168.0.17>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,1d1da130233252e1
X-Google-Attributes: gid10d6db,public
From: dion@multitask.com.au (Dion Gillard)
Subject: Re: HTML within Java?
Date: 1999/07/11
Message-ID: <MPG.11f1eb30e4ce1d249896aa@news.ozemail.com.au>
X-Deja-AN: 499583159
Distribution: world
References: <danielt-0907992124110001@192.168.0.17>
X-Trace: ozemail.com.au 931645139 210.84.1.241 (Sun, 11 Jul 1999 08:18:59 EST)
Organization: Multitask Consulting
NNTP-Posting-Date: Sun, 11 Jul 1999 08:18:59 EST
Newsgroups: aus.computers.java