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 137194 - javafx.gui.Button (and others) are missing in IDE
Summary: javafx.gui.Button (and others) are missing in IDE
Status: VERIFIED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-13 18:48 UTC by Lark Fitzgerald
Modified: 2008-06-30 13:46 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 Lark Fitzgerald 2008-06-13 18:48:17 UTC
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
}
Comment 1 Lark Fitzgerald 2008-06-13 18:50:12 UTC
This affects more than Button.  BorderPanel, FlowPanel, TextField, and List are also not there.
Comment 2 Lark Fitzgerald 2008-06-13 18:51:36 UTC
Note: These clases do exist in the javafxgui.jar installed in the ide.
Comment 3 Lark Fitzgerald 2008-06-13 18:53:52 UTC
As far as I can tell, there is no workaround for this so upgraded priority.
Comment 4 Lark Fitzgerald 2008-06-13 20:52:19 UTC
I found all (or what I think is all) of the missing classes.  They are under javafx.gui.component.*;
Comment 5 Lark Fitzgerald 2008-06-13 20:57:19 UTC
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
Comment 6 Lark Fitzgerald 2008-06-13 21:32:53 UTC
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
Comment 7 Alexandr Scherbatiy 2008-06-30 13:46:59 UTC
verified