× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: frame question
  • From: Gary Feinstein <gfeinste@xxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 13 Nov 1997 11:14:49 -0600
  • Organization: Planet Hollywood International Inc.

Thanx Doc, and to everyone else that responded.  I will try changing my
current applet into an application.  Wish me luck.  If you don't hear
from me in the next few days, assume I got sucked into the computer like
that guy in Tron.
Gary

Ed.Doxtator@ssa.co.uk wrote:
> 
> Yep.  You want to make stand-alone programs.  (Well, as stand-alone as you
> can get with Java.)
> 
> Que publishes a book called _Special Edition Using Java 1.1_ that contains
> a whole chapter devoted to this very topic, "Chapter 21.  Applications
> Versus Applets".
> 
> In a nutshell, the differences between applets and applications are:
> 
> Applets have:
> -A manditory import java.applet.* statement.
> -HTML scripts that define (among other things) the applet's size, and
> parameters the applet may receive on startup.
> -The methods init() and start().  (Even if you don't supply init() and
> start() methods, they're defined in the applet base class.)
> 
> Applets don't have:
> -A main() method.  Applets are invoked by a browser.
> 
> --------------------------------------------------------
> 
> Applications have:
> -A main() method. This method does the work of the init() method and
> receives the parms passed into the application.
> 
> Applications don't have:
> -Manditory references to methods inside java.applet.*.
> -HTML scripts.  Applications don't need them.
> -The init() and start() methods.  The work of these methods is done via the
> main() method.
> 
> The chapter also outlines a method for writing a Java program such that it
> runs inside of a browser as an applet or as a stand-alone application,
> which makes loads of sense.  That way, one program can run on your web
> site, and can be used internally (when people don't always have browsers).
> 
> HTH
> 
> -Doc
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "JAVA400-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe JAVA400-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.