formatting for netbeans