Re: Help with (almost) my first applet

From: David Morris (david_at_davidm.demon.co.uk)
Date: 02/15/04


Date: Sun, 15 Feb 2004 19:28:10 +0000

Andrew Thompson once wrote in <FYOXb.60051$Wa.54383@news-
server.bigpond.net.au>...
>David Morris wrote:
>> I'm trying to do some proof-of-concept trials to determine whether we
>> can use Java as a way forward for our on-going thin-client
>> development, and I've hit a language problem.
>>
>> I hope I'm not breaking any rules by posting my source code here,
>
>You're not, code examples are encouraged,
>but you could learn a lot about making good
>example code by examining this document..
>http://www.physci.org/codes/sscce.jsp
>
>A good test for 'self contianed' can be found here..
>http://www.physci.org/javac.jsp
>
>> but
>> I just can't see what's going wrong. I suspect it's a scope error.
>
>Possibly, but I do not have time to look over
>non-working (non-comipling) code closely.
>
>> public class Applet extends java.applet.Applet {
>
>Two quick comments though.
>
>1) I realise you are trying to do a
>proof-of-concept that will ultimately
>by deployed over the net

Actually, it will be employed over our Intranet. There's no way this is
getting outside our company, so it's not *the net*, just *a net* (the
devil's always in the semantics :-)

>, but it is
>much easier to develop applications
>for your first Java projects.

Not for what I want to do, I don't think, unless anyone can suggest
another way. 60% of our manufacturing system is browser based. Some of
the remaining stuff is realistically never going to be HTML / ASP
because it's just to difficult to make the transition from the VB client
we're currently using - popup boxes, multi-form and all that sort of
stuff. I considered that using Java as a proper client-side programming
environment would fit the bill. So far, it's look extremely promising;
all I have to do is get over the hurdles.

The good thing is that if my proof of concept works, it will be what we
use, you see, I'm the boss. I'm looking to some form of Java to reduce
the dependence on MS and drive down costs.

I'm also looking at a multi-platform client environment. I'm got some
users using desktop PCs, some using (currently) Windows Terminal Server
and have a Linux-based LTSP server waiting in the wings. Java of one
form or another offers me all the cross-platform capabilities I need.

>
>2) 'Applet' is probably the second
>dummest name for an applet I have
>ever heard. What does the applet do?
>Describe it's 2 most important
>characteristics in the name.

Yeah - it started off as a little test app whilst I was playing about
with the Netbeans IDE and sort of stuck. It won't end up being called
Applet, but if I called it appSFDCDetailView, I doubt very much if you
personally would have been a great deal wiser? (No offence intended).

>
>--
>Andrew Thompson

Thanks for the response.

-- 
David Morris


Relevant Pages

  • Re: Browser plug-in to interact with browser
    ... Andrew Thompson wrote: ... >> Do you know of any simple example of a browser plug-in written in Java ... Most of the important work with the DOM ... > and such pretending to be the applet. ...
    (comp.lang.java.programmer)
  • Re: Applet window warning message
    ... >> no Java, or Java disabled. ... > of hits from browsers with no or disabled Java? ... Please ensure any applet pages you ... Andrew Thompson ...
    (comp.lang.java.help)
  • Re: how do I get rt.jar for java 1.1?
    ... On Tue, 11 May 2004 19:10:42 GMT, Andrew Thompson wrote: ... ("I need to compile an applet for version java 1.1 ") ...
    (comp.lang.java.programmer)
  • Re: Running java applet under IE6
    ... > window where is displayed a java ... > applet. ... Andrew Thompson ...
    (comp.lang.java.help)
  • Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (NT-Bugtraq)