🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #452

Re: javac me genera mas de un archivo class

#452
From: Juan carlos
Date: Tue, 24 Apr 2007 12:59
19 lines
1888 bytes
Muchas gracias a los dos, en realidad era un WindowListener,y para evitar
que crease ese class simplemente hice que la clase implementara
WindowListener y solucionado...
"Eduardo Y��ez Parareda" <eduardo.yanezNOSPAM@NOSPAMgmail.com> escribi� en
el mensaje news:595vtpF2jaoevU1@mid.individual.net...
> En realidad una clase an�nima es la que no tiene nombre, por ejemplo
cuando se hace un listener o un comparator
> 'on the fly':
>
> ActionListener listener = new ActionListener() {
>    public void actionPerformed(ActionEvent ae) {
>      System.out.println("Anonymous class example");
>   }
> };
>
> �stas no generan otro .class
>
> De lo que t� hablas es de una clase interna, que s� genera un .class con
el signo $ en el nombre del fichero.
Technical Details
Message-ID: <f0l5vs$oks$1@hefestos.uned.es>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.rediris.es!hefestos.uned.es!not-for-mail
References: <f0in24$i2v$1@hefestos.uned.es> <f0j6a0$34i$1@localhost.localdomain> <595vtpF2jaoevU1@mid.individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1116f3,a015cb1a6df0acd7
X-Google-Attributes: gid1116f3,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.rediris.es!hefestos.uned.es!not-for-mail
From: "Juan carlos" <tirsote@telefonica.net>
Newsgroups: es.comp.lenguajes.java
Subject: Re: javac me genera mas de un archivo class
Date: Tue, 24 Apr 2007 14:59:58 +0200
Lines: 21
Message-ID: <f0l5vs$oks$1@hefestos.uned.es>
References: <f0in24$i2v$1@hefestos.uned.es> <f0j6a0$34i$1@localhost.localdomain> <595vtpF2jaoevU1@mid.individual.net>
NNTP-Posting-Host: 193.red-83-37-12.dynamicip.rima-tde.net
X-Trace: hefestos.uned.es 1177426749 25244 83.37.12.193 (24 Apr 2007 14:59:09 GMT)
X-Complaints-To: admin.news@csi.uned.es
NNTP-Posting-Date: Tue, 24 Apr 2007 14:59:09 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106