What I really love about Java is that, It can run on various devices. In college projects, I used Swing and AWT for creating GUI applications in Java and It was so fun to run the output jar file on multiple operating systems.
JavaFX Button allows to process an action when a user clicks the button. JavaFX Button can have text, an image or both and various effects can be applied to it. JavaFx Button visual appearance can be enhanced using CSS styles.
JavaFX Radio Button is used to make a selection from a list of options. A radio button can be selected or unselected. Usually two or more radio buttons are used in a group where only one radio button can be selected at a time.
JavaFX CheckBox is a special control that looks like a square box, can be used to select a option. when a CheckBox is selected a tick mark appears inside the square. Multiple CheckBoxes can be created for list of options.
JavaFX Choice Box is a nice control which helps in selecting a choice from group of options. It is quite similar to select input used in Html. Clicking on a choice displays a list of items as a dropdown.
In this chapter, we will make a simple JavaFX music player to demonstrate the use of different JavaFX UI controls. It uses a file chooser, button and label with javafx.scene.media.MediaPlayer class.
CRUD refers to Creating, Reading, Updating and Deleting records in a database. You may find various tutorials regarding CRUD in JavaFX. There is more than one way to do CRUD in JavaFX, However in this chapter, we will create a simple CRUD application in JavaFX with Hibernate ORM and MySQL database for simplicity. Our project […]
A JavaFX tableview allows to present the data in a tabular layout. The sorting feature comes default with a tableview, which sorts the data with any column in ascending or descending order. We can also fetch data from the database and fill the tableview dynamically. In addition to this, In this chapter we will actually […]