🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ¿Cómo hacer un BEEP?

#26896
From: Jonathan Revusky
Date: Sat, 21 Nov 1998 00:00
51 lines
1695 bytes

Herminio Jorquera wrote:
> 
> �Lo has probado? a mi me dice que no encuentra el m�todo.

Acabo de compilar y ejectuar con �xito el siguiente fichero Beep.java:

____________________

public class Beep {
  public static void main(String args[]) {
     java.awt.Toolkit.getDefaultToolkit().beep();
  }
}

____________________


En la l�nea de mandos haces:

javac Beep.java

y:

java Beep

y voila.

> Jonathan Revusky wrote:
> 
> > jose antonio tor� navarro wrote:
> > >
> > > Yo he probado eso y el Comunicator me dice que no encuntra el objecto o
> > > algo parecido
> > >
> > > "Eustaquio Mart�n" wrote:
> > >
> > > > getToolkit().beep() y debe beepear.
> >
> > Ser�a Toolkit.getDefaultToolkit().beep();
> >
> > Jonathan Revusky


Jonathan Revusky
-- 
Available for Java and Delphi Consulting
Make your .class files double-clickable
with SmartJ
http://www.bigfoot.com/~crystalline.solutions
Technical Details
Message-ID: <3656F6E6.C17B3299@jet.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36471E4E.A3B605C3@yahoooo.com> <36471E93.E65D7644@yahoooo.com> <72jjq1$glq$1@diana.bcn.ibernet.es> <36514348.1A08EA01@mixmail.com> <36516A6C.858A813A@jet.es> <3656E6A9.30BE0C@bigfoooot.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1116f3,fee664a7a63858f3
X-Google-Attributes: gid1116f3,public
From: Jonathan Revusky <jrevusky@jet.es>
Subject: Re: ¿Cómo hacer un BEEP?
Date: 1998/11/21
Message-ID: <3656F6E6.C17B3299@jet.es>
X-Deja-AN: 414240074
Content-Transfer-Encoding: 8bit
References: <36471E4E.A3B605C3@yahoooo.com> <36471E93.E65D7644@yahoooo.com> <72jjq1$glq$1@diana.bcn.ibernet.es> <36514348.1A08EA01@mixmail.com> <36516A6C.858A813A@jet.es> <3656E6A9.30BE0C@bigfoooot.com>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Telefonica Transmision de Datos
Mime-Version: 1.0
Reply-To: jrevusky@bigfoot.com
Newsgroups: es.comp.lenguajes.java