Methods Summary |
---|
public boolean | action(java.awt.Event event, java.lang.Object o)
label.setText(waitingMessage);
repaint();
return false;
|
public java.lang.String | getAppletInfo()
return "Receiver (named " + getParameter("name") + ") by Kathy Walrath";
|
public void | init()
add(label);
add(new Button("Clear"));
add(new Label("(My name is " + getParameter("name") + ".)",
Label.LEFT));
validate();
|
public void | paint(java.awt.Graphics g)
g.drawRect(0, 0, size().width - 1, size().height - 1);
|
public void | processRequestFrom(java.lang.String senderName)
label.setText("Received message from " + senderName + "!");
repaint();
|