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 166996 - can not drag and drop custom components from project view in Maven appframework project
Summary: can not drag and drop custom components from project view in Maven appframewo...
Status: RESOLVED DUPLICATE of bug 118694
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 15:24 UTC by Masaki Katakai
Modified: 2009-10-06 16:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-06-12 15:24:19 UTC
I tried this on 6.5.1 and 6.7 RC.

1. Create Manve appframework project
2. Prepare some custom Swing component in the same project
3. Try to drag&drop from project window to main panel
   Nothing happened, icon will not be changed to component shape.

When I use usual Java project (non Maven project), I can drop
it to the panel. If it's not compiled, error dialog is invoked.

Is it spec or not? Is there any quick workaround?
Comment 1 Milos Kleint 2009-06-12 15:53:45 UTC
AFAIK a duplicate of another issue, a workaround is to add the component to the panel from "jar", not "project"
Comment 2 Tomas Pavek 2009-10-06 16:59:14 UTC
Adding from JAR would help as a workaround, but not when you want to use a component within the same project.

It's not working because we are not able to handle dependencies on non-ant projects. So a maven project can't be used as
a class source by GUI builder. It's issue 118694.

*** This issue has been marked as a duplicate of 118694 ***