The Artima Developer Community
Sponsored Link

Java Answers Forum
Select Color to decide sum problem :Help needed

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
lee

Posts: 3
Nickname: safc
Registered: Dec, 2002

Select Color to decide sum problem :Help needed Posted: Dec 29, 2002 10:37 AM
Reply to this message Reply
Advertisement
I would like some help on how todo the following:
===========================================================
When a user has selected a color by pressing a button e.g.
Red then this sets a label to red. //I have done this bit

But how do I get it so when the user has selected the color a text box does a sum depending on the color selected?

e.g. User selects red then 2 multiplied by 5 is done so 10 is displayed.
or Blue is selected and 2 multiplied by 6 is done so 12 is displayed in the text box.

Thanks for any help

Topic: use of dll in jsps Previous Topic   Next Topic Topic: LinkedList on RandomAccessFile

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use