Chapter 7-6

1.)Write a code segment that obtains an input from a text field called inputField, converts the input to an integer, and outputs the square root of the integer to a text field called outputField.

2.)Assume that an action listener has been added to button. Which method runs when the user clicks the button.

3.)Describe the roles and responsibilities of the model, view, and controller classes in a GUI program.

Advertisement
Published in: on April 30, 2008 at 4:09 pm  Leave a Comment  

The URI to TrackBack this entry is: http://nina19899.wordpress.com/2008/04/30/chapter-7-6/trackback/

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.