/    Sign up×
Community /Pin to ProfileBookmark

I have to write an application with three labeled text fields, one each for the initial amount of a saving account, the annual interest rate, and the number of years.
Add a button “Calculate” and a read-only text area to display the result, namely, the balance of the savings account after the end of each year.

You can run the applet format of this program at the following link:
[url]http://www.soltani.ws/ism4141/SavingsBalanceCalculator.html[/url]

I have some code for it, but I”m still unsure of how to do it. Could someone please help me, I need it desperately!!

Thanks!!

to post a comment
Java

2 Comments(s)

Copy linkTweet thisAlerts:
@plastic_wrappedNov 30.2006 — Start with a "Hello World!" program (a very simple example just to learn the basics). There's tons of tutorials out there, just google for "java hello world".

Next, write a program that does the calculate function. You'll run it from the command line like your HW while you're testing and editing it.

To create a GUI (graphical user interface), you'll use java libraries called Swing or AWT (which one depends on your needs). Again, do a HW GUI example to learn.

Last, modify your HW GUI with the fields you need. Set the button to run the calculate program you wrote and update the output field with the result.

There's lots of resources online for all of these steps - java.sun.com is a good place to start. I taught myself how to do all the above in about three days - your results may vary depending on your prior experience ?

One final piece of advice - when you ask for help on message boards, always post the steps you've gone through so far. People will be much more eager to help if they see you've made an attempt to help yourself, and also, the help you get will be much quicker and more accurate.

Good luck!
Copy linkTweet thisAlerts:
@agent_x91Dec 04.2006 — I don't actually think a hello world application is quite what he was asking for...

Can we see your code please pdizzle?
×

Success!

Help @pdizzle spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...