Results 1 to 2 of 2
  1. #1
    Pascal Nouma is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Programming "MONEY CONVERTER" ???

    Hey everyone,

    I'm so new for Java, and I don't know how to make some actions on Java. I'm trying to write a simple Money Converter program, but I don't know where to write calculation codes on this program. I've 3 JTextFields (one for AUD, one for Rate ,and one for USD) and 3 there ActionButtons (USDtoAUD, AUDtoUSD, and Close). I prepared all the stuff (the program screen) except calculations. On this program, I'm gonna enter "AUD" currency rate and then make the calculation to convert it into "USD" value. Let's say float x (AUD value), float y (USD value), float z (Rate). I'm gonna define z as Fixed value, and my input and output will be "x" and "y". [ x(Input)*z=y(Output) ] Where and what should I write to make these calculations in TextField blanks?

    Thanks everyone for help.


  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

Similar Threads

  1. Java, Military Format using "/" and "%" Operator!!
    By sk8rsam77 in forum New To Java
    Replies: 11
    Last Post: 02-26-2010, 03:03 AM
  2. Replies: 2
    Last Post: 01-24-2009, 06:56 PM
  3. Replies: 1
    Last Post: 10-20-2008, 07:35 AM
  4. <core:forEach var="" begin="+<%=j%>+">???
    By freddieMaize in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 09-27-2008, 01:20 AM
  5. "Jumble" or "Scramble" Program
    By Shadow22202 in forum Java Applets
    Replies: 8
    Last Post: 04-30-2008, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts