APISonar


org.netbeans.modules.options.java.api.JavaOptions.JAVA

> org > netbeans > modules > options > java > api > JavaOptions > JAVA
org APIs netbeans APIs modules APIs options APIs java APIs api APIs JavaOptions APIs JAVA APIs

Example 1
private void btnSetupNewerActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSetupNewerActionPerformed
        OptionsDisplayer.getDefault().open(JavaOptions.JAVA + "/" + MavenOptionController.OPTIONS_SUBPATH); //NOI18N
        panel.getValidationGroup().performValidation();
    }//GEN-LAST:event_btnSetupNewerActionPerformed
Example 2
public static JButton createOpenOptionsButton() {
        JButton button = createButton(
                "org/netbeans/modules/debugger/jpda/resources/formatters_options_16.png",
                NbBundle.getMessage (VariablesViewButtons.class, "Hint_Open_Formatters")
            );
        button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                System.setProperty(SHOW_FORMATTERS_PROP_NAME, "true"); // NOI18N
		OptionsDisplayer.getDefault().open(JavaOptions.JAVA + "/" + OPTIONS_JAVA_DEBUGGER_ID); // NOI18N
            }
        });
        return button;
    }