Invert Boolean Dialog Box

Use to replace a Boolean method or variable with an opposite one. Use this command to both rename an existing method or variable and invert its logic.

Select a Boolean method or variable in the Source Editor and choose Refactor > Invert Boolean to open the Invert Boolean dialog box.

Element Description

New Name

Displays the name for the inverted method or variable to be applied.

Specify the new name for the inverted method or variable by modifying this field



Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.