Chapter 4-10

1.)write a code segment that uses an I/O dialog box to prompt the user for her name.

2.)write a code segment that display your name and address in a message box, name an address should be formatted on separate lines by using the “\n” character.

3.)why we need to used the methods Integer.parseInt and Double.parseDouble when receiving numeric input from an I/O dialog box.

4.)give an example of a situation where you would want a panel to set its preferred size, rather than allow the size of the main window to determine that.

Advertisement
Published in: on April 23, 2008 at 2:39 pm  Leave a Comment  

The URI to TrackBack this entry is: http://nina19899.wordpress.com/2008/04/23/chapter-4-10/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.