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

  • JavaFX Essentials
  • Mohamed Taman
  • 255字
  • 2021-07-16 14:03:23

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
主站蜘蛛池模板: 江山市| 广饶县| 南京市| 策勒县| 友谊县| 宕昌县| 武宁县| 乐陵市| 波密县| 永兴县| 宜兴市| 兴国县| 山西省| 绥阳县| 班戈县| 石景山区| 大厂| 朔州市| 钦州市| 滦平县| 广丰县| 泽州县| 修文县| 如东县| 中西区| 台东市| 应城市| 漠河县| 宁安市| 鹤山市| 安塞县| 攀枝花市| 车致| 泾阳县| 女性| 三江| 凤山县| 陕西省| 电白县| 宁德市| 厦门市|