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 223383

Summary: EditorCookie.getOpenedPanes() should be deprecated
Product: platform Reporter: Petr Jiricka <pjiricka>
Component: TextAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3 Keywords: API
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Jiricka 2012-12-06 10:57:43 UTC
As discussed in bug 186117, EditorCookie.getOpenedPanes() is not recommended, and NbDocument.findRecentEditorPane should be used instead. See comments 13 and 14 of that bug.

So, the getOpenedPanes() method should be deprecated, or there should at least be a comment in javadoc alerting about the performance implications.