Article View: borland.public.jbuilder.java.swing
Article #8768Re: $1.class and $2.class?
From: Joi Ellis
Date: Wed, 19 Jul 2000 00:00
Date: Wed, 19 Jul 2000 00:00
60 lines
2687 bytes
2687 bytes
Well, on unix, I get around such problems by enclosing the filename in
quotes. I have no idea how your domain works so I can't suggest anything.
You can rewrite your java to eliminate anonymous classes, and split
all classes into separate java files. If you do that, your compiler won't
generate $ classes in the first place.
Randy wrote:
>
> how do I upload these classes to my domian when it will not allow $ or any
> punctuation symbols?
>
> Joi Ellis <joi@aravox.com> wrote in message
> news:39761331.2829EA9E@aravox.com...
> > 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
--
------------------------------------------------------------------------
--
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:
<397626A6.1F4A4D1A@aravox.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8l52ru$2gl4@bornews.borland.com> <39761331.2829EA9E@aravox.com> <8l56ad$2gq3@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: <397626A6.1F4A4D1A@aravox.com> X-Deja-AN: 648380521 Content-Transfer-Encoding: 7bit References: <8l52ru$2gl4@bornews.borland.com> <39761331.2829EA9E@aravox.com> <8l56ad$2gq3@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