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.
Tried to drag a (form) editor tab to a new position in the editor area. Got an exception instead. Dev 061014.
Created attachment 35348 [details] Stack trace
Jesse, it works for me in NB Dev(200610181800) & JDK 6.0(b101)
I cannot reproduce it either.
I studied the code around the exception but I can't find anything bad. Mime type for TopComponent transferable is defined as a constant and used everywhere...there must be smt strange elsewhere, but I can't find out what. Closing, please reopen if problem reappers, thanks.
Looks like you are relying on the thread context class loader being able to find TopComponent.Cloneable. While this should be true of course, it is not very robust. Please never use the DataFlavor(String,String) constructor in NB code. Always pass a ClassLoader parameter, thus: new DataFlavor(MIME_TOP_COMPONENT_CLONEABLE, null, TopComponent.Cloneable.class.getClassLoader())
thanks Jesse, done: Checking in TopComponentDragSupport.java; /cvs/core/windows/src/org/netbeans/core/windows/view/dnd/TopComponentDragSupport.java,v <-- TopComponentDragSupport.java new revision: 1.24; previous revision: 1.23