Beeper

From Java Example Source Code

Jump to: navigation, search

Contents

[edit] Overview - Beeper

This is a example of Java program.

[edit] Java Source Code

  • Package: example.beeper
  • File: Beeper1.java
package example.beeper;
 
import java.awt.Toolkit;
 
public class Beeper1 {
    public static void main(String[] args) {
	Toolkit.getDefaultToolkit().beep();
    }
}

[edit] What Result You Can Get

Run the program, you can't see anything, but can you hear anything?

[edit] Required External Libraries and/or Files for this Java Example

Need nothing.


[edit] How to Run this Java Example Program

We recommend running this Java example program with Eclipse.

For assistance in working with Eclipse, please see How to Run Java Program with Eclipse.

It's fairly easy.



[edit] Question & Answer

Any question?

Click edit and post your question or answer here.


Personal tools