Naming Conventions

"Tis but thy name that is my enemy. Thou art thyself, though not a Montague. What's Montague? it is nor hand, nor foot, Nor arm, nor face, nor any other part Belonging to a man. O, be some other name! What's in a name? That which we call a rose By any other name would smell as sweet. So Romeo would, were he not Romeo call'd, Retain that dear perfection which he owes Without that title. Romeo, doff thy name; And for that name, which is no part of thee, Take all myself." Project Gutenberg THE COMPLETE WORKS OF WILLIAM SHAKESPEARE
/*


*/
import java.awt.*;
import java.applet.Applet;
public class TURBOCYBEROBJECTORIENTEDPROGRAM extends Applet
{
  public void paint( Graphics VIRTRUALREALITYCONCURRENTWINDOWS3000) 
  {
    VIRTRUALREALITYCONCURRENTWINDOWS3000.drawString("本 港 其 他 地 區 的 氣 溫",30, 30);
  }
}
// An Applet skeleton.
import java.awt.*;
import java.applet.*;
/*


*/

public class AppletSkel extends Applet {
  // Called first.
  public void init() {
    // initialization
  }

  /* Called second, after init().  Also called whenever
     the applet is restarted. */
  public void start() {
    // start or resume execution
  }

  // Called when the applet is stopped.
  public void stop() {
    // suspends execution
  }

  /* Called when applet is terminated.  This is the last
     method executed. */
  public void destroy() {
    // perform shutdown activities
  }

  // Called when an applet's window must be restored.
  public void paint(Graphics g) {
    // redisplay contents of window
  }
}

Previou page Next page