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 186700 - Working up on the JavaFX IDE package. Get a repeated warning described below. Happens in several different projects.
Summary: Working up on the JavaFX IDE package. Get a repeated warning described below...
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 02:16 UTC by phild
Modified: 2011-11-16 16:39 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 phild 2010-05-26 02:16:43 UTC
Product Version = NetBeans IDE Dev (Build 201005241008)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

**import setup.**
package test;
import javafx.ext.swing.*;  *****This import line is flagged by editor as having already been used. *****
import javafx.geometry.VPos;
import javafx.scene.Scene;
import javafx.scene.shape.Circle;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.*;
import javafx.scene.paint.Color;
import javafx.stage.Stage;

**This warning received multiple times on each run.**
warning: [warnonuse] Package javafx.ext has been used.
import javafx.ext.swing.*;
Comment 1 J Bachorik 2010-05-26 09:58:48 UTC
JavaFX compiler gives a warning whenever using the javafx.ext.swing package (or any other package important to packager to correctly build the application). Hence, the warning is correct. 
However, it would be nice to have a hint to explain the situation to the user.
Comment 2 phild 2010-05-26 19:56:10 UTC
This makes no sense.
Why would the compiler issue any warning on the first use of a package?
I get four repetitions of the warning in the Output pane.
This will surely lead to developers ignoring warnings.
Comment 3 David Strupl 2011-05-16 13:52:12 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.