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 205567 - Improve Maven support for icon lookups
Summary: Improve Maven support for icon lookups
Status: RESOLVED DUPLICATE of bug 170991
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 17:42 UTC by tim_sa
Modified: 2015-09-16 17:03 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tim_sa 2011-11-25 17:42:40 UTC
[ BUILD # : 201111171527 ]
[ JDK VERSION : 1.7 ]

Create a window form and place a JLabel on it.

When  you select the Icon property of the JLabel you are presented with the
'Icon chooser dialog'

In an Ant based project you can select the package that the icon is in and
subsequently the icon itself from the next droplist.

This does not work in a Maven project. You always have to select the External
Image option.
In Maven based project the icons will most probably not be with the source code
in the src/main/java/ folder they will more than likely be in a subset of the
src/main/resources/ folder

see
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directo
ry-layout.html for more details.
Comment 1 tim_sa 2011-11-25 17:47:27 UTC
above URL shortened
http://goo.gl/O0yDX
Comment 2 Tomas Pavek 2015-09-16 17:03:28 UTC
Fixed as bug 170991.

*** This bug has been marked as a duplicate of bug 170991 ***