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 27910

Summary: Remove all org.openide.util.SwingEditors* from API
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: ExplorerAssignee: akemr <akemr>
Status: VERIFIED FIXED    
Severity: blocker CC: tpavek
Priority: P2 Keywords: API
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2002-10-10 12:30:39 UTC
Probably accidently all innerclasses of
SwingEditors file are public, please make them
package private (and patch in runtime if
necessary) or remove them completly.
Comment 1 Jaroslav Tulach 2002-10-11 13:35:52 UTC
Ok, does not block issue 19443, can be done anytime. So let's do it
sooner than 4.0 is out.
Comment 2 akemr 2002-10-14 14:46:08 UTC
AFAIK it was just hack for old JDK's, which isn't needed in form
module anymore.

I suggest to:
1. Remove following "if" from Utilities.getBeanInfo method:
  if (clazz.getName().startsWith("javax.swing")) {// NOI18N
      bi = SwingEditors.scanAndSetBeanInfo(

2. Completely delete SwingEditors class
Comment 3 Jaroslav Tulach 2002-10-15 09:35:46 UTC
Fine with me.
Comment 4 akemr 2002-10-16 10:44:04 UTC
Fixed in trunk.
Comment 5 pzajac 2002-10-23 10:13:40 UTC
verified