Yet Another Buying Application (Java)