官术网_书友最值得收藏!

Chapter 2. JavaFX 8 Essentials and Creating a Custom UI

Getting to know the essentials of JavaFX will definitely help you to easily build complicated and complex UI solutions.

In this chapter, you will get a brief introduction about JavaFX 8 architecture, so you get an idea of how JavaFX architecture components and engines interconnect together with your JavaFX application efficiently and render its graphics smoothly.

You will learn how to render graphics on the JavaFX scene and, for that, we will create a basic application using a scene, some controls, and styling.

We will touch upon the fundamentals of Java SE 8 features (such as Lambda and functional interfaces) to help increase code readability, quality, and productivity.

Once we have our first structured JavaFX 8 application, wouldn't it be nice if you could change the UI of your application without altering its functionality? You will learn about theming by having a glance at the fundamentals of JavaFX CSS styling.

Finally, you will find out how to use Scene Builder to create and define UI screens graphically and save them as a JavaFX FXML-formatted file. And you will get hands-on experience of creating custom controls.

In this chapter, we'll cover the following topics:

  • Understanding JavaFX architecture components
  • Using JavaFX components to set up the UI
  • Using Java SE 8, Lambda expressions, and other features
  • Theming your application to target different platforms
  • Customizing the application UI with CSS
  • Using the Scene Builder tool to create the UI visually
  • Building a custom UI with FXML
主站蜘蛛池模板: 石家庄市| 叶城县| 白河县| 北安市| 林甸县| 禹州市| 延寿县| 额济纳旗| 兴安盟| 定西市| 肇庆市| 苏尼特左旗| 兴化市| 桃园县| 北海市| 舒城县| 永和县| 赫章县| 偏关县| 淮滨县| 泽州县| 梁山县| 罗甸县| 扬中市| 老河口市| 庆云县| 榆林市| 辽宁省| 怀远县| 社会| 陵川县| 河曲县| 彩票| 康平县| 华阴市| 双江| 松阳县| 林口县| 尚志市| 长春市| 且末县|