changed max Kosten to use a JSpinner