Monday, May 21, 2007

Java FX ... The X Factor !

Ah, so one more scripting language. It seems that we are going more and more lazy in writing code. Anyway, I am all set for JavaFX programing. So far looking cool. Downloading NetBeans solves most of the problem.

Setting up for Java FX: Here. First time saw anything that can be done easily in Java(because I guess its not Java :) )

And my Cruel World Program,

import javafx.ui.*;

var window = new Frame();
window.title = "Title Bar";
window.width = 400;
window.height = 200;
var label = new Label();
label.text = "Cruel World";
window.content = label;
window.visible = true;


By the way where is the class. Sir this is the world of Scripting :). I guess a easier way to write code with more smoothness and less tension of inheritance, abstract funda.

So, trying for a code, in which I will take my photo and zoom it. So Nice :D. Will comeback with code in next blog.

6 comments:

Bipin "3~" Upadhyay said...

Waiting for a more detailed sneak-peek in the next entry bhaiya.
Am too bloody busy these days to try it out :(.

By the way, a very *startling* thing happened. I was having a look at google analytics for my blog and found that one of the visits has been through google search for the keyword open javafx.
I googled it only to find that my blog entry was at #1... above around 10lakh sites, including the official site :|
[The results and figures are quite fluctuating now, as have always been with google. However, it's pretty... ummmmm... shocking.)

Vaibhav said...

Ya first I decided to write something about lang. itself, but those things are available on many sites. Will come up with some intersting stuff.

Ha ha .. it happens with Google.

Abhishek said...

I saw Java FX examples. Though the animations are well, lil patchy, the concept of giving a library of animations is very novel.

Another thing happened, good one. I set up proxy host and port in my java program and my programs are able to connect to internet. : )

Bipin "3~" Upadhyay said...

Did you mean to use something like this while executing the class file?

java -Dhttp.proxySet=true -Dhttp.proxyHost=someProxyAddress -Dhttp.proxyPort=somePortNo < ClassName> http://www.projectbee.org

Vaibhav said...

no this is what abhishek meant:

System.setProperty("http.proxyHost", "proxyname");
System.setProperty("http.proxyPort", "port");

Bipin "3~" Upadhyay said...

Okay.
I guess I ignored the ..in my program....
The one I gave can be used from the command prompt while invoking the class.