Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic
Fall 2011_CS506_2 Pageviews=1

 

 Fall 2011_CS506_2

Go down 
AuthorMessage
Admin
Admin



Posts : 216
Join date : 2011-06-17
Location : Rawalpindi

Fall 2011_CS506_2 Empty
PostSubject: Fall 2011_CS506_2   Fall 2011_CS506_2 EmptySat Nov 05, 2011 10:04 am


Write the ideal weight calculator so that height in inches is entered by using a slider. Use the approximate formula:

W = H2 / 30 , for female

W = H2 / 28 , for male

where W is the ideal weight in pounds,
H is the height in inches
Set an action command for each radio button using setActionCommand(String).
Add an action listener for each button using addActionListener().
Add a change listener for the slider using addChangeListener().
The ideal weight should be displayed in a text field when the user changes either a radio button or the slider.
Pick initial settings for the buttons and slider. When the program starts up display the ideal weight for those settings.

[You must be registered and logged in to see this image.]
Back to top Go down
https://pakitworld.board-directory.net
 
Fall 2011_CS506_2
Back to top 
Page 1 of 1
 Similar topics
-
» Scholarships Fall 2011
» Course Selection for Fall 2011
» COURSE SELECTION FOR FALL 2011
» FALL 2011 MIDTERM EXAM: MAKE YOUR DATE SHEET NOW!
» MCM304 MIDTERM PAPER (FALL 2011) Mass Media in Pakistan

Permissions in this forum:You cannot reply to topics in this forum
 :: MCS/BCS/MIT/BIT/BSCS :: Assignments-
Jump to: