🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #1009

Re: How to work appletview?

#1009
From: David M. Williams
Date: Thu, 06 Jan 2000 00:00
32 lines
1156 bytes
henry <dexrix@hotmail.com> wrote:

: I'm not quite sure I understand how to get the appletviewer to open
: a .class file.

  Actually, you want the appletviewer to open a HTML file which refers
to the class.
  This should do the trick ...

<html>
<head>
<title>Applet test</title>
</head>

<body>
<applet code="Test.class" width="400" height="400"></applet>
</body>
</html>

  Then, to invoke it you call appletviewer passing the HTML file
as a parameter.  So, don't do this -

: appletviewer Test.class

  Instead, you do this -

appletviewer Test.html

  And all will work fine !

Regards,
 David Williams
Technical Details
Message-ID: <8511ud$s24$1@seagoon.newcastle.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <1GKc4.429$A93.11842@nsw.nnrp.telstra.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,c04e9d8187488b6b
X-Google-Attributes: gid10d6db,public
From: "David M. Williams" <dave@qed.newcastle.edu.au>
Subject: Re: How to work appletview?
Date: 2000/01/06
Message-ID: <8511ud$s24$1@seagoon.newcastle.edu.au>
X-Deja-AN: 568941071
References: <1GKc4.429$A93.11842@nsw.nnrp.telstra.net>
Organization: The University of Newcastle
User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (SunOS/5.6 (sun4u))
Newsgroups: aus.computers.java