JavaFX Live View

I was playing with some of the screenshot stuffs in the JavaFX 2.2 and came up with idea of showing the image of the Operating system’s window stuffs in JavaFX ImageView and that was really easy to make via Java Robot API and JavaFX’s SwingFXUtils class. Thanks to the JavaFX teams πŸ™‚

Ok here we go now . First we’ll look over how the algorithm goes for this task.

Flow of Screen capture in JavaFX

 

As you can see in above picture The portion of the Monitor is being screen captured by the Java Robot API . This give the BufferedImage Object of Java and then we convert them in to JavaFX Image using SwingFXUtils class. Now finally it’s Β all in our hand to show that Image in appropriate way.
Read the rest of this entry »

Tags: , , , , , , ,

Fancy Preloader Part 2

Firstly welcome back to this blog if you are the reader of my previous post Fancy Preloader Part 1. I’m sorry for my late blog post because of some busy days. Anyway today I’m going to present you guys how to do animation for the Fancy Preloader. Firstly let’s look over parts of the Preloader Animation .
 

Fancy Preloader Animation

Fancy Preloader Animation

 
Read the rest of this entry »

Tags: , , , , , , ,

Fancy Preloader Part 1

Hi, friends today I’ve got something graphics and animation gift for you.
I know that JavaFX 2 has really Rich Interface in the Application that’s why many enterprises who are using the Swing as their core GUI are intending to divert to JavaFX 2 which is now becoming more stable and clear API. I just love doing javafx cuz it makes me fun and really interesting. The Application we develop in javafx can be huge so we need to load them during startup of the Application. JavaFX has concept of customizing the Preloader which we actually see those progress bar while we are loading any javafx application. Most of the enterprises don’t want to add the default they want something unique and some more eye caching loading so that user won’t feel bore while the application is loading. This is somehow the way of making the user’s eye hypnotized to application πŸ™‚ .

So I’m today talking about same preloader which is actually customized animated graphics. Before starting the preloader we need to know about the flow of the preloader in Application Startup Life Cycle.

Basic Preloader Concept

 

Preloader Startup
(Source: http://docs.oracle.com/javafx/2/deployment/preloaders.htm)

 
Read the rest of this entry »

Tags: , , , ,

Source Code : Draggable ListCell as FriendList Demo

Hello I’m back,

Ah…Today I finally got some time to think of uploading the source code of Draggable ListCell as FriendList Demo.

 

Here we go:

Source Code in GIT : javafx-autocomplete-field
 

Screenshots:

Friends List Demo

Click on above picture to see live example in browser

 

The full description about this blog is posted here:Β JavaFX Drag and Drop Cell in ListView

Hope you guys like it!

Thanks and have a good day folks πŸ™‚

Tags: , , , , , ,

Customize ScrollBar via CSS

Hello friends,

I came today with new stuffs of customizing the scrollbar control in JavaFX after long duration. πŸ™‚
First Let’s look over what are the parts of ScrollBar as given in below image below.

 

ScrollBar parts CSS information

 

In the above picture there are four main part of ScrollBar .

  • increment
  • thumb
  • track
  • decrement

Read the rest of this entry »

Tags: , , , , , ,