We may earn an affiliate commission when you visit our partners.
Course image
Udemy logo

JavaFX tutorial

Learn JavaFX with Examples

Deepika Khanna

Read more

Focus on what actually matters: This is not a course where you will learn bunch of things in a very shallow way. You are going to get really damn good at JavaFX. Like a real programmer, you won't worry about the buzzword of the day because you will have fundamental skills to pick up things on your own. You will be working on real-time project. We will start with small projects like creating a Login page, Registration page and then will design some advanced applications like building a calculator.

This course teaches you how to start developing rich-client desktop applications using your Java skills and provides comprehensive coverage of JavaFX 8's features.

Learn the JavaFX you need for professional development: Most courses focus on the syntax and features in JavaFX. They will talk to about controls,shapes at a very shallow level but in this course you will learn how to use them in building a software.

Designed to take you from total beginner to advanced: If you have tried learning JavaFX before, you have likely found that beginner courses are way too easy, advanced courses are way too hard, and there is hardly anything in the middle. This JavaFX course is designed to take you from zero knowledge all the way to the advanced level, so that you can get it all done with one comprehensive course.

What will you learn in this course?

  • JavaFX layout panes : Border Pane, Grid Layout, HBox,VBox,Grid, Group etc
  • JavaFX Controls: Label, Button,MenuButton,RadioButton,CheckBox,ChoiceBox,ListView,DatePicker,TextArea
  • JavaFX Charts: PieChart,BarChart,Scatter Chart, LineChart,AreaChart
  • JavaFX Shapes: Rectangle, Circle,Ellipse, Arcs
  • JavaFX Event Handling: Mouse Events, Key Events

Note: We will not just cover them in theory in this course but we will actually design each of them.

What real time-projects will be building in the course?

  • Using controls we will be building a simple Login page.
  • Using controls like choicebox, radiobutton, DatePicker,checkboxes, ListView we will create a Registration form.
  • Using controls and Event handling in JavaFX we will also create a calculator App at the end of the course.

ENROLL In the COURSE

Enroll now

What's inside

Learning objectives

  • You will learn javafx in simple and easy steps starting from basic to advanced concepts with real-time examples
  • You will learn to build real-time application using javafx. we will be building a calculator app using javafx in this course.
  • Learn javafx you need for professional desktop and mobile application development
  • This course will take you from complete beginner in javafx to advanced developer.

Syllabus

Introduction to the course
In this section we will cover What is JavaFX and its targeted platforms. We will see the difference between swings and JavaFX. We will also cover important features in JavaFX like styling & animation
Read more
What is JavaFX?
Overview of JavaFx and its features
In this section we will install the software which we will need for rest of the course. We will install Java, download eclipse IDE and also JavaFX plugin for eclipse to create JavaFX projects
Java download for windows
Download Eclipse latest version for windows
Download and install JavaFX for Eclipse
The best way to show you what it is like to create and build a JavaFX application would be with a SIMPLE application. In this section we use Eclipse IDE to develop,compile and run a JavaFX-based app.
Your First JavaFX Application
Overview of JavaFX GUI framework
This section covers layout management of nodes. In this section, we will cover these layout panes- HBox,VBox,BorderPane,GridPane, and FlowPane.
JavaFX Layout Panes: How to use Built-in Layout Panes in JavaFX?
Javafx BorderPane Layout with example
JavaFX HBox Layout : How to Use the HBox Layout in JavaFX?
Hbox Spacing and Padding: Set Padding and Spacing for HBox
Javafx margin: how to set margin for an element ?
JavaFX HBox HGrow Priority Enumeration constant: Always, Never and Sometimes
JavaFX HBox HGrow Priority
VBox layout pane: Constructor and its method
Creating a JavaFx program using VBox Layout Pane
Setting the alignment of nodes: VBox.setAlignment(Pos value)
How to set max/min width of nodes?
GroupLayout for JavaFX
JavaFX BorderPane Layout : Constructor and its methods
JavaFX Borderpane with Example
How to arrange multiple Panes in one scene?
JavaFX GridPane Layout : Properties and its methods
JavaFX Grid Layout
Quiz 1
We will learn how to use JavaFX UI controls such as buttons, labels,radio buttons, checkboxes,choice boxes, textboxes, password fields,scrollbars,ListView ,Datepicker,Color Picker
Using JavaFX UI Controls
In this section, we will create a Login page using controls like Password Field, TextField and button. We will also use GridPane layout to arrange these controls in a form of Grid.
Creating a Login page using JavaFX UI controls
In this section we will create a Registration page using textfields, label, DatePicker, ListView, RadioButton, CheckBoxes and Choicebox. We will use GridPane to arrange these controls.
Creating a Registration form using JavaFX UI control Part I
Creating a Registration form using JavaFX UI control Part II
Creating a Registration form using JavaFX UI control Part III
Creating a Registration form using JavaFX UI control Part IV
Quiz
JavaFX menu creation is essential to most complex applications. This section explains how to create menus in JavaFX. I will be demonstrating how to create a Menu with File,Edit and Help options
JavaFX Java GUI Tutorial : Creating Menus
JavaFx Menu tutorial - JavaFx Menu, MenuBar , MenuItem and Separator
Add CheckMenuItem in our Menu
Adding a RadioMenuItem and Submenu for our Menu
Creating a menu with customMenuItem and Separator Menu Item
This section describes the graphical charts available in the javafx.scene.chart package of the JavaFX SDK . We will learn to create different types of chart - PieChart, BarChart, AreaChart, Line Chart
JavaFx Charts: Create a PieChart
JavaFx Charts: Creating a BarChart
Scatter Chart with example
Using JavaFX Charts: Line Chart
AreaChart with example
A 2D shape is a geometrical figure that can be drawn on the XY plane. 2D shape includes line, Rectangle,Circle, Arc etc. In this section, we will use JavaFX library to draw Line,Rectangle,Circle etc
How to Create Lines and Shapes in JavaFX?
Create a Rectangle using javafx.scene.shape.Rectangle
JavaFX Circle: Drawing a circle with JavaFX
JavaFX Ellipse with CenterX,CenterY, radiusX and radiusX
JavaFX 2D Shapes: Types of Arc
We can develop GUI applications, web applications and graphical applications. In such applications, whenever a user interacts with the applications(nodes) an event is said to have been occurred.
JavaFX Event Handling: Handle User Events
Handle MouseEvents in JavaFX
Javafx mouse click event example
Event Handlers for Mouse Events
Event Handlers for Key Events
In this section, we will make a simple JavaFX calculator. It does basic calculations like addition, subtraction,multiplication and divisions.
Calculator App Part I: Adding controls to the app
Calculator App Part II: Add styling to the app
Calculator App Part III: Adding event handling

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Well-suited for learners with zero knowledge in JavaFX
Covers both basic and advanced JavaFX properties and features
Provides a strong foundation for professional desktop and mobile application development

Save this course

Save JavaFX tutorial: Learn JavaFX with Examples to your list so you can find it easily later:
Save

Reviews summary

Well-received javafx tutorial

learners say this JavaFX tutorial is well-received, but may be a better option for beginners. While engaging assignments and helpful explanations are consistent across reviews, students request that the course offer more advanced content and visual adjustments to be well-rounded.
Explanations are clear and engaging.
"This is a very good course and for sure you have a great teaching talent."
"All important issues are gathered into the preliminary presentation before going to code, which is really good."
Course may be better suited for beginners.
"This course covers JavaFX basics so you should not say to people that they will become JavaFX experts after this course."
Learners want more advanced topics.
"It would be great to add additional content to this to provide your students much better start in creating their own GUIs, such as, more focus on visual aspect tuning or adjusting, at least 1hr dedicated for using CSS/XML in JavaFX, multi-frame GUIs and transferring information or objects between frames, handling alert windows."
Students want more emphasis on visual adjustments.
"The calculator project is nice and simple, but it lacks at least 2-3 lessons for visual tweaks."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in JavaFX tutorial: Learn JavaFX with Examples with these activities:
Follow tutorials on JavaFX layout management
Tutorials on JavaFX layout management will help you understand how to organize and arrange the elements in your applications.
Browse courses on Layout Management
Show steps
  • Find a tutorial on JavaFX layout management.
  • Follow the steps in the tutorial to create a simple JavaFX application.
  • Experiment with different layout managers to see how they affect the appearance of your application.
Practice writing JavaFX applications
Writing JavaFX applications will help you reinforce the concepts and techniques you learn in this course.
Show steps
  • Create a new JavaFX project in your preferred IDE.
  • Add a button and a label to the scene.
  • Write code to handle the button's click event.
  • Run the application and test the button's functionality.
Create a presentation on JavaFX event handling
Creating a presentation on JavaFX event handling will help you solidify your understanding of how to handle user interactions.
Browse courses on Event Handling
Show steps
  • Choose a topic for your presentation.
  • Research the topic and gather information.
  • Create a slide deck using a presentation software.
  • Practice your presentation.
  • Deliver your presentation to a group of peers.
Show all three activities

Career center

Learners who complete JavaFX tutorial: Learn JavaFX with Examples will develop knowledge and skills that may be useful to these careers:
Mobile Applications Developer
Mobile Applications Developers design and develop mobile applications for smartphones and tablets. They use a variety of programming languages and tools to create mobile applications that are both visually appealing and functional. This course may be helpful for Mobile Applications Developers as it will teach them how to use JavaFX to develop rich-client desktop applications.
Data Scientist
Data Scientists use data to solve business problems. They use a variety of statistical and machine learning techniques to analyze data and extract insights. This course may be helpful for Data Scientists as it will teach them how to use JavaFX to develop rich-client desktop applications.
Business Analyst
Business Analysts analyze business needs and develop solutions to meet those needs. They use a variety of analytical techniques to identify and solve business problems. This course may be helpful for Business Analysts as it will teach them how to use JavaFX to develop rich-client desktop applications.
Database Administrator
Database Administrators manage and maintain databases. They use a variety of database management techniques to ensure that databases are available, reliable, and secure. This course may be helpful for Database Administrators as it will teach them how to use JavaFX to develop rich-client desktop applications.
Web Developer
Web Developers design and develop websites and web applications. They use a variety of programming languages and tools to create websites that are both visually appealing and functional. This course may be helpful for Web Developers as it will teach them how to use JavaFX to develop rich-client desktop applications.
Network Administrator
Network Administrators manage and maintain computer networks. They use a variety of networking techniques to ensure that networks are available, reliable, and secure. This course may be helpful for Network Administrators as it will teach them how to use JavaFX to develop rich-client desktop applications.
Computer Programmer
Computer Programmers write code to create software applications. They use a variety of programming languages and tools to create software that meets the needs of users. This course may be helpful for Computer Programmers as it will teach them how to use JavaFX to develop rich-client desktop applications.
Computer Systems Analyst
Computer Systems Analysts develop and maintain software for use on computers that will enhance the user's experience. They analyze business needs, and then design and implement a technical solution to meet those needs. This course may be helpful for Computer Systems Analysts as it will teach them how to use JavaFX to develop rich-client desktop applications.
Project Manager
Project Managers plan and execute projects. They use a variety of project management techniques to ensure that projects are completed on time, within budget, and to the required quality. This course may be helpful for Project Managers as it will teach them how to use JavaFX to develop rich-client desktop applications.
Software Developer
Software Developers design, develop, and test software applications. They use a variety of programming languages and tools to create software that meets the needs of users. This course may be helpful for Software Developers as it will teach them how to use JavaFX to develop rich-client desktop applications.
Security Analyst
Security Analysts identify and mitigate security risks to organizations.
User Experience Designer
User Experience Designers design and develop the user interface for websites and applications. They use a variety of design principles and tools to create user interfaces that are both visually appealing and easy to use. This course may be helpful for User Experience Designers as it will teach them how to use JavaFX to develop rich-client desktop applications.
Technical Writer
Technical Writers create documentation for software and other technical products. They use a variety of writing skills to create documentation that is both clear and concise. This course could be useful for Technical Writers as it will help them develop the skills needed to write documentation for JavaFX applications.
IT Support Specialist
IT Support Specialists provide technical support to users of computers and other electronic devices. They use a variety of technical skills to troubleshoot and resolve technical problems. This course could be useful for IT Support Specialists as it will help them develop the skills needed to support JavaFX applications.
Quality Assurance Analyst
Quality Assurance Analysts test software to ensure that it meets the required quality standards. They use a variety of testing techniques to identify and fix software defects. This course could be useful for Quality Assurance Analysts as it will help them develop the skills needed to test JavaFX applications.

Reading list

We've selected seven books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in JavaFX tutorial: Learn JavaFX with Examples.
Provides a comprehensive introduction to JavaFX 8, covering the basics of JavaFX development, including creating and managing GUI components, handling events, and working with data.
Is an in-depth look into working with JavaFX 8 to build rich client applications. It great resource for anyone who wants to learn more about using JavaFX.
Practical guide to JavaFX 8, covering everything from the basics of JavaFX development to advanced topics such as 3D graphics and media.
This concise guide provides a comprehensive overview of JavaFX features and functionalities. It is especially useful for beginners who want to get started with JavaFX development.
This comprehensive guide is written by JavaFX team members and provides in-depth information on JavaFX architecture, controls, and graphics. It valuable reference for experienced JavaFX developers.
Gentle introduction to JavaFX 8, covering the basics of JavaFX development, including creating and managing GUI components, handling events, and working with data.
Provides a comprehensive guide to creating data visualizations using JavaFX charts. It covers various chart types, customization options, and data binding, making it a useful resource for developers who need to present data in an engaging and interactive way.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to JavaFX tutorial: Learn JavaFX with Examples.
JavaFX 8 Playbook: Controls with Data Model
Most relevant
JavaFX 8 Playbook - Labeled and Text Controls
Most relevant
TornadoFX - Build JavaFX Applications With Kotlin
Most relevant
Starting GUI Programming with JavaFX
Most relevant
JavaFX Playbook
Most relevant
Create a JavaFX GUI with radio buttons and check boxes
Most relevant
Create your first GUI application in jGRASP using JavaFX
Most relevant
Build Sports Management System using JavaFX
Most relevant
Beginning GUI programming with JavaFX
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser