Archive for June, 2009

Does JavaFX have Multiple Inheritence? 0

With so many languages supporting inheritance a question is always asked “Does XYZ language have multiple inheritance?”. Using JavaFX I’ll let you know how I would answer the question.

Go to Source

JavaFX client for “top” 0

Execute top using ProcessBuilder, get the Process instance. Get the output stream from process and read the output of top command. Now parse this content (a bit tricky, each version had its own output format) to get the CPU and Memory information. Plot the chart using JavaFX chart APIs.

For Applet mode, click on above image

For standalone mode

Note: The implementation is not concrete (as it relies on simple text parsing), may not work on some platforms or locales due to difference in output of top command. It will not work on platforms which does not support top command.

Source available here

Posted in real world, utility

Go to Source

[Video]JavaFX -Particle-O-Rama by Josh Marinacci 0

Look the whole video,, really cool effects programmed 100% in JavaFX, hope we’ll get the code soon
Go to Source

JavaFX Presentation Model Pattern Using Binding 0

JavaFX binding is for free, but don’t ignore the presentation model pattern.
Go to Source

Tutorial JavaFX – parte 4 0

Bueno, esto va a ser lo ultimo que voy a publicar de JavaFX por unos dias porque tengo que estudiar para los examenes de la facu. Hoy vamos a ver como permitirle al usuario interactuar con nuestro programa, es decir, los eventos . Los eventos tambien se pueden agregar arrastrando desde la barra de herramientas de NetBeans. Actions en NetBeans Todos los objetos que conforman la GUI que vimos hasta ahora tienen los eventos correspondientes al mouse y el teclado. Vamos a ver un par de
Go to Source

JavaFX Init and Postinit Blocks Order 0

Like Java Constructors we explore JavaFX’s initialization order when a Super class and a Sub class use init and post-init blocks.
Go to Source

JavaFX Init Block Setting Default Values 0

JavaFX don’t have constructors but it does have init blocks to do the same thing.
Go to Source

The future of Language is Literate Programming don’t you think ? 0

I think the future is literate programming. Code has to be readible for human and not only machine. As performance will be less and less an issue, this paradigm will become a common sense. We don’t program in Assembly Language (I had worked in this language 20 years ago) any more, C++ though still alive will be declining, and I think the rise of Dynamic Languages and Dialects like Linq, JavaFX are just targeting this concept without even knowing it.

Rebol’s simplicity – so simple that even a non-programmer today can cope with it in 5 minutes – puts it in first rank from this viewpoint. It will never be a mainstream language, you won’t learn it to find a job, you would learn it because it is 20 years in advance.

Go to Source

Tutorial JavaFX – parte 3 0

A la hora de hacer interfaces graficas JavaFX y NetBeans nos brindas varias facilidades, y entre ellas estan las formas basicas predefinidas que pueden ser agregadas al codigo con simplemente arrastrar y soltar. Formas Basicas de JavaFX Pero tambien nos permite crear nuestras propias formas y darle efectos. Eso es lo que tratare de explicar en esta parte del tutorial. Crear nuestras propias formas es sencillo con JavaFX . Basicamente tenemos 2 maneras de hacer una nueva figura o
Go to Source

JavaFX Presentation Model Pattern Using Binding 0

JavaFX binding is for free, but don’t ignore the presentation model pattern.

Go to Source

« Previous PageNext Page »