Java UI for database project