mysql - Can JavaFX be included on a Java SE project? -
mysql - Can JavaFX be included on a Java SE project? -
i'm trying create inventory project , have graphs on it. i'd graph created thru javafx , phone call on java main class. possible add together javafx class java project?
i'm using netbeans btw.
javafx java 7 different javafx on java 8. advice go java 8. maybe netbeans 8 too. javafx , swing/awt have different event threads, though under java 8 there seems improve integration.
javafx , java swing 2 separate worlds. 1 might embed javafx in swing. though if @ start of new project, might go pure javafx.
javafx uses "properties", wrapped values can have alter listeners on them / info binding. separation components makes dealing model-view-controller paradigm bit nicer / different. javafx components more difficult, swing provides total api total of setters. can hard create column right-aligned first time. thing makes javafx harder, utilize of callbacks generic types, lambda expressions. giving right signature not straight-forward.
so embedding javafx in swing might approach if there much swing experience or existing code: see
embediing swing in javafx (the other way around) and how utilize javafx in swing applicationif mean, have netbeans 7 richt client application, on netbeans.org there several little articles on javafx integration.
java mysql javafx netbeans-7
Comments
Post a Comment