Microsoft Visual J++. Java


- 5


}

}

 

// ⠠

Thread.sleep(m_delay);

}

catch (InterruptedException e)

{

stop();

}

}

}

}

1.10 HTML, HorzScroll.

1.10. HorzScroll\HorzScroll.html

<html>

<head>

<title>HorzScroll</title>

</head>

<body>

<hr>

<applet

code=HorzScroll.class

id=HorzScroll

width=170

height=50 >

<param name=str value="Hello from Java!">

<param name=font value="Helvetica">

<param name=style value="BOLD">

<param name=size value="18">

<param name=color value="red">

<param name=delay value=100>

</applet>

<hr>

<a href="HorzScroll.java">The source.</a>

</body>

</html>