Loading...
I have started an interesting project. I will illustrate a crawler based on JavaFX scripting. Though there is no specific reason beyond using JavaFX except to enhance my knowledge on JavaFX scripting.
Here is some preliminary code that I have already written:
Import statement and package declaration –
———————————————————
package com.we4tech.linkcrawler.fx.script;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.*;
import org.xml.sax.SAXException;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.NamedNodeMap;
import com.sun.org.apache.xerces.internal.parsers.DOMParser;
Today i have started learning JavaFX. so you will get my new learning over my blog site.
Problem how to run your first hello world FX:
there are 3 alternatives as far i know -
1. using NetBeans.
2. using Eclipse JavaFX plugin.
3. using manual execution
1. using net beans - you will find enough information from the starter example over here
https://openjfx.dev.java.net/Getting_Started_With_JavaFX.html
2. using eclipse plugin - install plugin from this url :
http://download.java.net/general/openjfx/plugins/eclipse/site.xml
3. using manual execution:
include 4 directory/jar over your classpath
i. javafxrt.jar
ii. swing-layout.jar
iii. Filters.jar
iv. your src directory (where you will store your *.fx) files
Main-class: net.java.javafx.FXShell
best wishes,







| www.flickr.com |
Leave a reply