How to make inventory management software in java