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 226321 - Remove deprecated o.jdesktop.layout dependency
Summary: Remove deprecated o.jdesktop.layout dependency
Status: VERIFIED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks: 226323
  Show dependency tree
 
Reported: 2013-02-19 12:26 UTC by Jiri Skrivanek
Modified: 2013-02-19 13:07 UTC (History)
0 users

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 Jiri Skrivanek 2013-02-19 12:26:01 UTC
Please, remove o.jdesktop.layout dependency from form.nb module. It seems to be useless.

WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.form.nb,
org.netbeans.modules.java.project] use org.jdesktop.layout which is deprecated:
Use javax.swing.GroupLayout instead. (In form editor: select Form ... in Inspect
or; change Layout Generation Style to Standard Java 6 code.)
Comment 1 Jan Stola 2013-02-19 12:43:08 UTC
The mentioned warning is valid for modules that compile against o.jdesktop.layout module. Such modules should be rewritten to use GroupLayout from JDK6. This is not the case for form.nb module that declares run-dependency only on o.jdesktop.layout. This dependency is not useless. It ensures that o.jdesktop.layout module (and hence the wrapped library) is present in NetBeans IDE. form module is using this library to allow GUI development with GroupLayout/Free Design in projects that for some reason cannot or don't want to use GroupLayout in JDK 6 (for example, in projects whose target platform is JDK 5).
Comment 2 Jiri Skrivanek 2013-02-19 13:07:09 UTC
OK, if this is intentional then I requested to remove warning message for form.nb (see bug 226323).