Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing beep



These are working fine for me on 6C115; can you be more specific?

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


-----------------------------


import java.awt.*;
import java.awt.event.*;

public class Beep extends Frame implements ActionListener {

public Beep() {
Button b = new Button("beep");
b.addActionListener(this);
setLayout(new FlowLayout());
add(b);
}

public static void main(String[] args) {
new Beep().setVisible(true);
}

public void actionPerformed(ActionEvent e) {
Toolkit.getDefaultToolkit().beep();
}
}


On Monday, August 19, 2002, at 10:33 AM, Jeff Martin wrote:

You're right - I hadn't noticed until you said something.

jeff


On Monday, August 19, 2002, at 12:09 PM, Rolf Howarth wrote:

Is it just me or does Toolkit.getDefaultToolkit().beep() no longer work under Jaguar?

-Rolf
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Missing beep (From: Jeff Martin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.