您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)

 

Apply Index

Apply Page # 4

Activity 4 – Button applet

(a) Compile and execute the applet `Button1.java', and make sure you know how it works.

(b) Modify Button1.java to produce 5 identical buttons rather than one, using a `for' loop

Discussion/Suggested solution to Activity 4

Back to content 

 

basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg