🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #845

Re: Swing Applet Questions ....

#845
From: Tor Iver Wilhelmsen [TeamB]
Date: Tue, 05 Oct 2004 07:02
34 lines
2100 bytes
"Art Pollard" <pollarda@lextek.com> writes:

> Are there any other restrictions I ought to know about?

Use of some classes (like java.awt.Robot) are restricted.

> 
> Also, would there be a significant development time difference developing an
> application so that it can be run as an applet and as an application v.s. as
> an application only?

No; an applet is basically a normal container, except with a couple of
differences when running inside a browser. These are related to two
things:

1) The applet lifecycle (init(), start(), stop(), destroy()). Proper
   handling may require the "run as application" main() to call at
   least init() and start().

2) The AppletContext, which may need to be replaced by an AppletStub
   and related AppletContext implementations.

You can differentiate between the "run modes" by setting a flag in
main().

> Do you think there would be much market for this within the Java
> community?

Possibly; but make it easy to write plugins (like JBuilder and Eclipse
do).

I seem to recall that Corel tried to make a Java-based office suite
once, but it failed; possibly it was ahead of its time, Java's AWT and
Swing have improved in efficiency and speed since then.
Technical Details
Message-ID: <uis9pprzb.fsf@broadpark.no>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4161cef5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,4ec8d5b8fda46808
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Sender: Tor Iver Wilhelmsen@TIWILHEL
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Swing Applet Questions ....
References: <4161cef5@newsgroups.borland.com>
From: tor.iver.wilhelmsen@broadpark.no (Tor Iver Wilhelmsen [TeamB])
Date: 05 Oct 2004 09:02:48 +0200
Message-ID: <uis9pprzb.fsf@broadpark.no>
Lines: 34
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 80.203.79.252
X-Trace: newsgroups.borland.com 1096959390 80.203.79.252 (4 Oct 2004 23:56:30 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail