3d Object (Cube) Concept to Code Part 2

After all I am near to Christmas, My hands are shaking so cold: P. Today I’m writing about the post of how to create a 3d cube box in JavaFX. Well I’ve you have already read my previous post of how to create Cube in JavaFX using the technique I’ve described.

 

We’ll create here one function which can create a cube box using parameter of width. Even if we create a 3D in JavaFX, The Object will not look like a real 3D because there is absence of good Camera stuffs class. But hope these things will arrive very soon.

Here is the JavaFX function which can create the Cube3D
Read the rest of this entry »

Tags: , , , ,

3d Object (Cube) Concept to Code Part 1

Hi geeks,
After a long day I’m here again . Wow Christmas is coming near !! Hope I can blog more post before Christmas :)
Today I’m going to explain about the 3D Concepts. Well this post is not related to specific Java Language because in this post there will be no any talks about the language specific code. But we’ll be talking about codes in next part of this post. Before going to 3D Object we need to know what is the axis and rotation.

Read the rest of this entry »

Tags: , , , , , , ,

How to bind vertical scroll in multi tableview

Hi javafx folks,

Today I will show how to make your multi table view bind with a single ScrollBar. JavaFX is becoming more and more powerful and nowadays people are using this javafx for comaparing the data between tables and it’s pretty much helpful for scrolling the tables with a single Scrollbar.

To make this things happen ; Firstly I have dived to check if there is any api for making scroll binding in both tables but I didn’t find them. I then went to see if there is any manual scroll of the tableview finally i found them scrollTo(int) which is really helpful for the programmer to scroll the tableview manually.

Lets first see how we are going to make this happen.
Read the rest of this entry »

Tags: , , , , , , ,

Feather Edit v.1.0 released

This is the first version of the Feather Edit software which is totally made from JavaFX and CSS. It’s named as Feather because it’s very light in size . Here are some of the features of this software.

 

Feather Edit

 

 

Features

  1. Live Screenshots
  2. Effects on Image
  3. Saving state of your edit
  4. Different Format
  5. Light Size

You can check out this software from here: http://apps.ngopal.com.np/feather_edit/

To Download the app directly : http://apps.ngopal.com.np/feather_edit/download.php

Feedback Email : fe@apps.ngopal.com.np

Tags: , ,

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: , , , , , , ,