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.

View | Details | Raw Unified | Return to bug 27785
Collapse All | Expand All

(-)libsrc/org/netbeans/editor/ext/Completion.java (+10 lines)
Lines 252-257 Link Here
252
        return javaDocPane;
252
        return javaDocPane;
253
    }
253
    }
254
    
254
    
255
    /**
256
     * @return JDCPopupPanel or <code>null</code>
257
     */
258
    public final JDCPopupPanel getJDCPopupPanelIfExists() {
259
        return jdcPopupPanel;
260
    }
261
262
    /**
263
     * @return JDCPopupPanel never <code>null</code>
264
     */ 
255
    public JDCPopupPanel getJDCPopupPanel(){
265
    public JDCPopupPanel getJDCPopupPanel(){
256
        if (jdcPopupPanel == null){
266
        if (jdcPopupPanel == null){
257
            jdcPopupPanel =  new JDCPopupPanel(extEditorUI, getExtPane(), getJavaDocPane());
267
            jdcPopupPanel =  new JDCPopupPanel(extEditorUI, getExtPane(), getJavaDocPane());
(-)libsrc/org/netbeans/editor/ext/CompletionJavaDoc.java (-1 / +1 lines)
Lines 183-189 Link Here
183
    private JDCPopupPanel getJDCPopupPanel(){
183
    private JDCPopupPanel getJDCPopupPanel(){
184
        Completion completion = extEditorUI.getCompletion();
184
        Completion completion = extEditorUI.getCompletion();
185
        if (completion != null){
185
        if (completion != null){
186
            return completion.getJDCPopupPanel();
186
            return completion.getJDCPopupPanelIfExists();
187
        }
187
        }
188
        return null;
188
        return null;
189
    }
189
    }

Return to bug 27785