add new project
change from println to JOptionPane.showMessageDialog
refactor