Thursday, 11 February 2010

JavaFX HelloWorld

Hi everybody!
As I mentioned couple days before I bought the book about JavaFX. Yes, I started reading it and coding. The syntax is completely different from the languages that I learnt so far, therefore it takes me a bit of time to get used to it.

I would like to share my first Hello World application:


And here is the javaFX code for this:

import javafx.stage.Stage;
import javafx.scene.*;
import javafx.scene.paint.Color;
import javafx.scene.text.*;
import javafx.stage.StageStyle;

var helloWorld: Text;

Stage {
    title: "Helo world"
    width: 200
    height: 200
    resizable: false
    style: StageStyle.DECORATED
    scene: Scene {
        fill: Color.ORANGE
        content: [
            helloWorld = Text {
                layoutY: 80
                layoutX: 20
                fill: Color.BLACK
                font: Font.font("Serif", FontWeight.BOLD, 20);
                content: "HELLO WORLD"
            }
        ]
    }
}


Enjoy!

Cheers

Tuesday, 9 February 2010

User Interface...

I bought this book called Pro JavaFX Platform, by James Weaver, Weiqi Gao, Ph.D. Stephen Chin and Dean Iverson. Its purpose is to teach the reader developing application using Sun's new kid, JavaFX.

The introduction is very interesting. Especially the first paragraph is very interesting:

" What an exciting time to be a software developer or designer! opportunity is all around us. Never before have there been so many platform capable of delivering compelling user experience that utilize rich media and rich graphical interfaces. Whether you develop for the computer desktop, the Web, today's more powerful mobile devices, or even consumer electronics devices such as TVs, you are in the middle of a revolution in the way we think about designing the interactions between people and their devices. And these people!
Now that they have tasted the forbidden fruit of rich interfaces, they have come to expect (no, demand!) compelling experience from all of the software they use. An interface that is engaging, attractive, and (dare we say it?) even playful can be the difference between success and obscurity for an application or mobile device. Your customers have seen the likes of the iPhone. If you can't give them an equally rich experience, your application, mobile device, or fancy new piece of electronic equipment is in very real danger of debuting to the  resounding silence of indifference."

It is soo true. Look around you! Everything has fancy interfaces, that are easy to use and nice to look at. As a consumers we started searching for software ( or mobile devices) that have really cool user interface. We pay more attention to the look of the "thing" that we are buying that to the functionality it provides. If we have to choose between two products, both having almost the same functionality, but one is a bit less graphically pleasant, we will choose the prettier one. Even if it provides a bit worse performance.

What dose it have with developers? Now we have to couple with graphic designers, their job is to design rich and cool GUI. It might be the point that will lead for the product to be more successful. And that is what gives us money:))

So people spend more time developing GUI!!!!!

Cheers

Saturday, 30 January 2010

Women = Problems ??

Hi everybody!
Some time ago I came across very funny picture, showing that Women=Problems. Yesterday I happened to find it, therefore I decided to share with some more audience:)


Hope you enjoyed:)
Cheers

Google Chrome 4, extensions


Couple days before I wrote about update to Google Chrome 4. I mentioned its extensions. Since then I installed four of them that are really useful:




The first one, as name suggests, gives you information about the weather in the city that was specified. Every time you switch your Chrome on, you'll get information about the conditions. Very useful, no need to search for the info.

Blog this! allows you to post the certain web page to your blog. You will find it interesting, when you share a lot of links in your blog. It gives you possibility to share information with couple of clicks. Personally I use this extension very often. 

Chrome Bird is an extension allowing you to access your Tweeter account. You get all functionality by clicking on the icon. Every time new tweet has been sent, user is informed.

Docs PDF/PowerPoint Viewer allows you to view those files without installing any additional software. Very neat. In your face Microsoft and Adobe...lol

Google Mail Checker I think the name says it all:)

Just one more thing. The icons of all extensions are located in this place:


I know it is not too many information. To be honest with everybody I haven't used them for long time, so cannot really say a lot about them. So far, though, they've been useful.
Cheers




YouTube - RayWilliamJohnson's Channel

I guess most of the people are using youtube for some reason in their day to day live. The point is to find something interesting to see there. That's why I want to share the following with you. Go and check the RayWilliamJohnson's Channel. This guy is awesome. Every Wednesday and Sunday he puts up an episode of =3, which is hilarious. Below you have one to test:




He also has his vlog, which can be interesting as well:

http://www.youtube.com/user/BreakingNYC
Go and check it. It is really worth a minute or two:)
Cheers

Thursday, 28 January 2010

Google Chrome 4

I've just updated to the newest Google Chrome. There is new very interesting features. It lets you install extensions. There are many plug-ins that might interest many people. Very good move. With them my life will be easier... I hope:)

Cheers

Tuesday, 26 January 2010

The lifecycle of a trojan horse

Hi everybody:)
I have been searching internet for some interesting information using StumbleUpon. I found this interesting article about the trojan horses. It is worth reading. Gives you interesting information about this kind of virus. Hope you enjoyed the read:) Cheers
The lifecycle of a trojan horse