Archive for August 2008

The JavaFX team announced an “ask to the expert” session (august 18-22)

Here are some news:

  1. They have plans to support CSS for skinning
  2. The next release of the SDK will have new UI components, media controls and much more is planned for November
  3. The JavaFX runtime will not be included in the JRE. It will be downloaded when needed and then cached for subsequent use from Sun servers
  4. They have a plan for a local persistence storage for 1.0 release. It means that a local database will be used like sqlite in Adobe AIR.

You can found the full transcript here

First post

Today, the blog www.pizze-ria.it is born. A pizza in the RIA world ;) (kudos to Federico Zanetti for the nice idea).

I have 2 goals about this place:

  • Write about RIA technologies, especially on Adobe Flex/ AS3 and Sun JavaFX
  • Enhance my poor english, I am Italian and like a lot of Italians I speak and write poor english. Then if you read something wrong please drop me an email :P

At the moment the blog is very raw. I don’t have the time to fix it. I hope to do it in the future.

I installed wordpress and added just syntaxhighlighter as a plugin. After that, I added javaFx support:

  • downloaded the brush from here (tks coffeejolts.com)
  • put it on your syntaxhighlighter plugin directory (i.e. /wp-content/plugins/google-syntax-highlighter/Scripts)
  • edited google_syntax_highlighter.php and insert this line:

<script class=”javascript” src=”<?php echo $current_path; ?>Scripts/shBrushJavaFX.js”></script>

  • now you’ll have a basic javafx color syntax highlighter in your blog too.
/*
 * Main.fx
 *
 * Created on Aug 8, 2008, 11:33:52 AM
 */

package syntaxhighlighter;

import javafx.ext.swing.Frame;
import javafx.ext.swing.Canvas;
import javafx.scene.text.Text;
import javafx.scene.Font;
import javafx.scene.FontStyle;

Frame {
    title: "Color syntac"
    width: 300
    height: 300
    closeAction: function() { java.lang.System.exit( 0 );
    }
    visible: true

    menus: [  ]

    content: Canvas {
        content: [
            Text {
                font: Font {
                    size: 24
                    style: FontStyle.PLAIN
                }
                x: 10, y: 30
                content: "Syntax high lighter"
            }]
    }
}

Now, wordpress is ready. Stay tuned!