Skip to content

cmiles74/tip-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tip Calculator

My friend Shane was taking an introductory Java class and showed me his tip calculator. It looked pretty neat, and I haven't done any Swing work in a while, so I decided to write one of my own. This tip calculator is loosely based on Google's tip calculator, you'll see it if you type "tip calculator" into Google's search.

Screenshot

Building

This project uses Maven, if you don't already have Maven installed, you can download and install it from the Maven website.

Once you have Maven installed, you can tell Maven to build and package the application.

mvn clean package

Maven will clean the project, make a fresh build and then package it all up with the Shade plugin.

Usage

You can launch the application by double-clicking the top-calculator-X.X-SNAPSHOT.jar, or you can invoke it from the command line.

java -jar tip-calculator-X.X-SNAPSHOT.jar

Once launched, fill in the amount of your bill, the percentage you'd like to tip and the number of people who will be splitting the bill. The application will calculate the tip per person as well as the total size of the bill.

About

A simple, Java Swing tip calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages