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.
Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) fx NB61 nighly plugin: 60 Use of the Button class is failing in the IDE. Ide states that this class does not exist. Also when I go through code completion the Button class is missing. Here is some sample source: import javafx.gui.Frame; import javafx.gui.Button; import javafx.gui.Dialog; import javafx.gui.Label; Frame { content: Button { text: "Press me!" action: function() { Dialog { title: "You pressed me" content: Label{ text: "Hey, don't do that!"} visible: true } } } visible: true }
This affects more than Button. BorderPanel, FlowPanel, TextField, and List are also not there.
Note: These clases do exist in the javafxgui.jar installed in the ide.
As far as I can tell, there is no workaround for this so upgraded priority.
I found all (or what I think is all) of the missing classes. They are under javafx.gui.component.*;
javafx.gui.component.* has: AbstractButton AbstractPanel Button CheckBox CheckBoxMenuItem ComboBox ComboBoxItem Component Container FlowPanel GridPanel JPanelImpl JTextFieldImpl List ListItem Menu MenuItem Panel RadioButton RadioButtonMenuItem ScrollPane ScrollableComponent SelectableButton TextField ToggleButton ToggleGroup Util
Closing this as Not a bug. ------------------------- To: gui@openjfx-compiler.dev.java.net Oh GAWD! How did that happen?! My son must have jumped on the computer again... Just kidding ;) It's intentional. We agreed at the architecture meeting that the wrappers for Swing components should exist in their own package. javafx.gui is expected to contain just the common profile. Thanks for checking, Shannon -------------------------- Note: there is also now a javafx.gui.gradients package with: GradientPaintContext LinearGradientPaint LinearGradientPaintContext MultipleGradientPaint MultipleGradientPaintContext RadialGradientPaint RadialGradientPaintContext
verified