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 27131

Summary: Cannot open form
Product: java Reporter: Tomas Pavek <tpavek>
Component: UnsupportedAssignee: Svata Dedic <sdedic>
Status: CLOSED INVALID    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description Tomas Pavek 2002-09-09 15:23:20 UTC
Tried form editor form trunk with new projects
(custom build 20020909-1511). It is not possible
to open a form. The cause is that wrong OpenCookie
is used. I don't see too deep in how this works,
but basically, there are two OpenCookies
registered on the data object - JavaEditor by
JavaDataObject and FormDataObject.OpenEdit by
FormDataObject (FormDataObject extends
JavaDataObject). JavaEditor implements OpenCookie
as EditorSupport, FormDataObject.OpenEdit
implements OpenCookie and EditCookie directly. The
problem is that JavaEditor is used - instead of
FormDataObject.OpenEdit as it should (and as it
does in trunk build). Note both cookies are found
in the node lookup, but JavaEditor is preferred.
Some ideas?
Comment 1 Svata Dedic 2002-12-06 12:51:06 UTC
Sorry -- unmodified Form is not guaranteed to work against
Project-version java.
EditorSupport is no longer used, Java module now uses a derivative of
CloneableEditorSupport.
Comment 2 Jan Becicka 2003-11-25 14:05:02 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 3 Jan Becicka 2003-11-25 14:14:09 UTC
---> CLOSED