Results 1 to 3 of 3
  1. #1
    roomkey is offline Member
    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Default GUI Fuel Calculator

    So I am trying to create a GUI where a user can enter the date, amount of fuel filled up, distance travelled and amount spent. Then from this data the average fuel per 100km is calculated as well as the average for the past 5 days. I donít really know where to start. I have designed the GUI and added the buttons in eclipse. However Iím unsure of how to write the code to store the data and make the calculations? Any suggestions?
    Thanks!

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default Re: GUI Fuel Calculator

    Post your current code and ask your questions about how to change it.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

Similar Threads

  1. calculator
    By rithish in forum AWT / Swing
    Replies: 10
    Last Post: 04-26-2011, 12:24 AM
  2. Help with AWT CALCULATOR
    By Megan Dosnueve in forum AWT / Swing
    Replies: 2
    Last Post: 04-04-2011, 06:49 PM
  3. Calculator
    By Moshe22 in forum New To Java
    Replies: 8
    Last Post: 01-17-2011, 06:29 AM
  4. need help with my calculator
    By semoche in forum AWT / Swing
    Replies: 6
    Last Post: 12-04-2009, 11:16 PM
  5. Calculator
    By water in forum AWT / Swing
    Replies: 4
    Last Post: 09-23-2009, 07:00 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
  •