🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: $1.class and $2.class?

#8766
From: Joi Ellis
Date: Wed, 19 Jul 2000 00:00
29 lines
1515 bytes
Randy wrote:
> 
> a proggie that I wrote creates three classes: sample$1.class, sample$2.class
> and sample.class.  the domain (tripod) which I am using doesn't allow $ or
> any punctuation symbols.  how do I get around this?


$ classes are created when ever your code has an anonymous class
within it, or if you define a second class within the file.

This snippet is one example from a class which extends JFrame:

  addWindowListener(
    new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        hide();
      }
    }
  );


--
Joi Ellis                    Software Engineer
Aravox Technologies          joi@aravox.com, gyles19@visi.com

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson
Technical Details
Message-ID: <39761331.2829EA9E@aravox.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8l52ru$2gl4@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f53d8f624b35a9db
X-Google-Attributes: gid111d45,public
From: Joi Ellis <joi@aravox.com>
Subject: Re: $1.class and $2.class?
Date: 2000/07/19
Message-ID: <39761331.2829EA9E@aravox.com>
X-Deja-AN: 648350655
Content-Transfer-Encoding: 7bit
References: <8l52ru$2gl4@bornews.borland.com>
To: Randy <slyfox65@netzero.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Aravox Technologies
Mime-Version: 1.0
Reply-To: joi@aravox.com
Newsgroups: borland.public.jbuilder.java.swing