Trim netbeans