How to fix “www.youtube.com refused to connect” error when trying to embbed video in blogs or any html page?

 In this tutorial we will learn how to fix a common error “www.youtube.com refused to connect” that comes when we try to embed youtube videos in blog pages or any website’s html page. Please watch the below tutorial to fix this error quickly.  Following this the code to embed any youtube video in html page … Read more

In this tutorial session, we will learn about yet another type of text control, the password field. The characters typed by a user are hidden by displaying an echo string. – Creating PasswordField if not using FXML.  PasswordField passwordField = new PasswordField();  passwordField.setPromptText(“Your password”);  – The value typed in the password field can be obtained … Read more

JavaFX RadioButton use in Application | Grouping of RadioButtons | JavaFX Tutorial for Beginners

In this session, we will discuss the radio buttons grouping in our application. So we can select a single radio button at a time among them. Using the following lines of code to perform grouping of Radiobuttons.    final ToggleGroup group = new ToggleGroup();  RadioButton rb1 = new RadioButton(“Home”);    rb1.setToggleGroup(group);  rb1.setSelected(true);    RadioButton rb2 … Read more

RadioButton use in JavaFX – Part #3 | Processing Events for RadioButtons | Tutorial for Beginners

In this session, we will discuss the radio button control implementation in our application. A Radio button has only two-state. It can be either selected or deselected.    – Creating Radio Button from code only. (when we are not using FXML) =======================================================  //A radio button with an empty string for its label  RadioButton rb1 = new … Read more

Creating an Executable jar from Maven based JavaFX Project | JavaFX Tutorial for Beginners

Hello Friends, In this tutorial, I have described the process to export an executable jar with dependency from maven based JavaFX project. I have used the sample project from my previous tutorial “how to create a maven-based JavaFX project”. If you want to learn, please follow the link given below. *Tutorial: How to create maven-based … Read more