Posted by joecolejoe
on June 19, 2008 at 2:25 AM PDT
This simple code works OK with JavaFX Pad
import javafx.ui. canvas.*;
title: "Hello World-style example for JavaFX Script"
faceName: "Sans Serif"
content: "Hello World"
When I created a new NetBeans 6.1 project
(my NetBeans IDE has been installed JavaFX plug-in: according to this guide at "http://javafx.netbeans.org/download-compiler-JFXplugin.html" ).
I copied this code directly
to the IDE's editor and there was error when I builded it:
Error: "symbol : variable BOLD"
When I deleted line: "style: BOLD", there was OK.
Please tell me why, and how to fix this problem (make it correct when keep this error line).
By the way
I want to download the JavaFX runtime, library files,
and demo programs from the Project OpenJFX web site.
The link is: "https://openjfx.dev.java.net/downloads.html"
I clicked the linked in "via tar.gz or zip file"
in "Source Code" section, and see no file to download.
Then I clicked "via Subversion", but I couldn't download
all of this package.
Please give me a correct link.
I'm a new English learner, so I'm sorry aobut by bad English.
THANK FOR ANY HELP!