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 127532 - Use of custom widgets broken with Maven
Summary: Use of custom widgets broken with Maven
Status: RESOLVED DUPLICATE of bug 118694
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-16 04:58 UTC by citibob
Modified: 2008-06-06 10:11 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 citibob 2008-02-16 04:58:27 UTC
Suppose I've subclassed a Swing widget (say, JPanel) to make my own widget (say, MyJPanel).  Now I want to use MyJpanel
in the GUI builder.  Here is the standard documented way to do it:
 1. Make sure things are compiled.
 2. Go to MyJPanel in the Projects window, select it, and hit Ctrl-C
 3. Go to the GUI builder window and hit Ctrl-V
The result is that an instance of MyJPanel is created in the form being built.

This works fine on standard Ant projects.  However, when using Maven projects (using the standard MevenIDE plugin), it
does not work.  The only way to use custom widgets in the GUI builder is to first load them into a palette (ugh).
Comment 1 Peter Pis 2008-02-21 09:06:17 UTC
Reassigning to "projects".
Comment 2 Milan Kubec 2008-02-21 09:12:26 UTC
Milosi, please evaluate. Thanks.
Comment 3 Milos Kleint 2008-02-21 10:02:43 UTC
depends on the form guys rewriting the form support not to rely on ant related project APIs

related to #118694
Comment 4 Milos Kleint 2008-06-06 10:11:19 UTC
duplicate of #118694

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