GithubHelp home page GithubHelp logo

jfx9be's Introduction

jfx9be

JavaFX 9 By Example book's source code

jfx9be's People

Contributors

carldea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jfx9be's Issues

Using fontawesomefx-9.0.0

No, this isn't a question. It's an answer.

I got your book yesterday, right after I downloaded jdk 9 and the EAP for IntelliJ that supports Java 9. When I got to Chapter 6, I checked for a real version 9 of that library. I downloaded all of the modules and tried to build LabelAwesome.

I got syntax errors because of library changes and was able to fix all of them. As soon as I had done that, I compiled the application and it worked.

The changes are:

Font.loadFont(GlyphsDude.class.getResource(FontAwesomeIconView.TTF_PATH).openStream(), 10.0);

(and similar lines) to:

Font.loadFont(FontAwesomeIconView.class.getResource(FontAwesomeIconView.TTF_PATH).openStream(), 10.0d);

Change:

iconEnum.characterToString()

to:

iconEnum.unicode()

Change:

iconEnum.getFontFamily()

to:

iconEnum.fontFamily()

So far, I like the book very much. I'm an experienced Java developer with lots of Swing experience (among other things), but limited experience with FX and about a day's experience with Java 9. I especially like the fact that it doesn't assume a particular OS or IDE. (It's easy enough to use IntelliJ 2017.3, although I wouldn't want to use an earlier version.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.