import browser.Applet;
import awt.Graphics;
import awt.Color;
import awt.Font;

class MyName extends Applet {

       int width;
       String message = "Fumihiko Fujiki";

       protected void init() {

             this.font = getFont( "TimesRoman", Font.ITALIC, 24 );

             width = this.font.stringWidth( message ) + 10;
             resize( width, 32 );
       }


       public void paint( Graphics g ) {

             g.setForeground( Color.black );
             g.paint3DRect( 0, 0, width, 32, true, false );
             g.setForeground( Color.yellow );
             g.drawString( message, 5, 22 );
       }
}

