public class Telephone extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Connection |
connect |
private javax.swing.JTextArea |
speakerField |
Constructor and Description |
---|
Telephone()
Constructs a telephone with a speaker, keypad,
and microphone.
|
Modifier and Type | Method and Description |
---|---|
void |
run(Connection c) |
void |
speak(java.lang.String output)
Give instructions to the mail system user.
|
private javax.swing.JTextArea speakerField
private Connection connect
public Telephone()
public void speak(java.lang.String output)
public void run(Connection c)