Inventory manager and calendar application in java