This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 208051

Summary: please disable help button in org.netbeans.modules.java.project.JavaTargetChooserPanel
Product: java Reporter: Jeffrey Rubinoff <jeff_rubinoff>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: kganfield, pjiricka
Priority: P3    
Version: 7.1.1   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 205350, 205440, 205493, 205762, 205765, 206867, 206868, 206869, 206871    

Description Jeffrey Rubinoff 2012-02-03 16:47:27 UTC
There are a whole lot of new file wizards that inherit this JavaTemplate. All of them have active help buttons. However, the wizards just have some arbitrary name and location fields. Really don't need context-sensitive help in our opinion.
Could you please deactivate these buttons?
Comment 1 Jeffrey Rubinoff 2012-02-03 17:03:20 UTC
I hadn't tested recently. Ken says that the button is still active, but instead of linking to generic help topic as it did before, it returns an error.
Comment 2 Jeffrey Rubinoff 2012-02-03 17:54:03 UTC
On my local clone I tried the following, rebuilt the java.project module and all worked fine:

    public HelpCtx getHelp() {
        if ( bottomPanel != null ) {
            HelpCtx bottomHelp = bottomPanel.getHelp();
            if ( bottomHelp != null ) {
                return bottomHelp;
            }
        }
        <<<<<<<<<return new HelpCtx(JavaTargetChooserPanel.class);
        >>>>>>>>>return null;
    }

However I am afraid to push this because I don't understand what happens if there is a bottomPanel.
Comment 3 Jeffrey Rubinoff 2012-02-04 22:02:20 UTC
My experimental change also fixed all the bugs under Blocks (except umbrella issue 205440)
Comment 4 Tomas Zezula 2012-02-17 09:58:11 UTC
I've already have it in queue.
Comment 5 Tomas Zezula 2012-02-17 11:27:01 UTC
fixed jet-main 1d68cfe76c57
Comment 6 Quality Engineering 2012-02-18 09:28:58 UTC
Integrated into 'main-golden', will be available in build *201202180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1d68cfe76c57
User: Tomas Zezula <tzezula@netbeans.org>
Log: #208051:please disable help button in org.netbeans.modules.java.project.JavaTargetChooserPanel