Learning To Code #1
Today I decided to make a Currency Converter using GUI - Java.✨ The program converts any amount of dollars to euros or euros to dollars. In my program 1 USD = 0.84 EUR.💸
The amount box was made with TextField.
Both ComboBoxes have two options: EUR and USD.
The hardest part for me was to make a perfect "Convert" button because I haven't done many exercises using GUI. My goal was that if you press the button then another window will pop up and tells you the answer. I achieved my goal using EventHandler.
Do I recommend this exercise for beginners?📚 For sure! I think it's so fun and I learned so much while doing this exercise.
To step up the game next time when I try to make a converter I will try to do BTC (live price) to USD. Think it's more advanced but doable.
Leave Learning To Code #1 to:
Read more #coding posts
Best Posts From steify
We have not curated any of steify's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From steify
- Things Didn't Go As Planned.
- Learning To Code #8 (ArrayList)
- New Project (MP3 Player) #1
- Learning To Code #7 (Loops)
- Learning To Code #6 (Number Guessing Game)
- Learning To Code #5
- How To Learn Coding
- Learning To Code #4 (Array exercise + Chart progress)
- Learning To Code #3
- Learning To Code #2
- Learning To Code #1
- Personal Sneaker Investments.📈 part 1.
- Air Jordan 11 Cool Grey.
- Air Jordan 5 Raging Bull.
- Nike Dunk Low Medium Curry.
- Air Jordan 11 Low IE Bred.
- Supreme/Nike SB Dunk Low.
- The Air Jordan 12 Twist.
- Nike Dunk Low PRM Medium Curry.
- Create your own Nike Dunk Low.