Embedding Swing Components and Handling Events in JavaFX – Part #2

I have explained the embedding of swing control (Jbutton) in the JavaFX application in my first tutorial. If you have not seen that session, please watch that tutorial first and continue from this session for better understanding. We will handle the event that is delivered to an appropriate Swing button and get processed. – Using the … Read more

Embedding Swing Components in JavaFX Applications – Part #1

In this tutorial, we will learn, how to embed Swing components in JavaFX applications. We have to use the ‘SwingNode’ class to use swing components in JavaFX. First, create an instance of SwingNode class. SwingNode swingNode = new SwingNode(); then call the ‘setContent()’ method on either the JavaFX application thread or event dispatch thread (EDT). … Read more

InfoOverlay Implemenation in Fxml project | JavaFX

Hello Friends, In this video tutorial you will learn to implement ‘InfoOverlay’ in an FXML-based project in JavaFX. This is a very nice control provided by ControlsFX API. To implement this control in your project, you have to download ControlsFX jar. Please see the below image of InfoOverlay used in an FXML-based project in Net … Read more

JavaFX | Redirect console output to TextArea

In this tutorial, you will learn to redirect console output to textarea in JavaFX application. This is a very useful implementation for most of the applications. I have explained the whole implementation step by step with the help of a diagram. See the below diagram, this is showing the core logic to redirect console output to … Read more

Fmpeg | Horizontal text scrolling with looping

Here I am sharing very useful command for horizontal text scrolling on video. We can easily do it in a single command. This is a really a very nice command to do looping of scrolling text. Scrolling from left to right: (at Bottom) ffmpeg -i input.mp4 -vf drawtext=”fontfile=C\:/Windows/Fonts/arial.ttf:text=’This is Cool IT Help’ : y=h-line_h-10:x=(mod(5*n,w+tw)-tw):fontcolor=white:fontsize=30″ output1.mp4 … Read more

FFmpeg | Vertical Text Scrolling with loop

Here i am sharing very useful command for vertical text scrolling on video. We can do it in a single command. This is really very nice command to do looping of scrolling text. Scrolling from bottom to top: ffmpeg -i input.mp4 -vf drawtext=”fontfile=C\:/Windows/Fonts/arial.ttf:textfile=info.txt : x=(w-tw)/2 : y=((h+th)- mod(4*n,h+th+100)):fontcolor=white:fontsize=30″ output8.mp4 Offset calculation: y = ((h+th) – … Read more

ControlsFX’s CheckComboBox | How to use CheckComboBox in JavaFX?

In this blog you will learn how to use ControlsFX api based CheckComboBox. It is very useful control, here we have items with checkbox in ComboBox. I have explained the use of CheckComboBox and implementation step by step.Prerequisite: 1) Need to download controlsfx.jar from below link :     http://fxexperience.com/downloads/controlsfx-8-40-142) Download link for Gluon Scene builder: … Read more