A point of sale application written in java