Main

July 22, 2008

AMF.. huh?

This is my comment to Bruce Eckel's post Does Anyone Really Care About Desktop Java?. I really enjoyed the honesty in the comments and recommend that people read them.

Swing is difficult because it tries to solve difficult problems. Flex is much more specialized and supports a small subset of Swing's features. If you think Flex competes with Swing you probably also think that “web operating systems” done in Javascript and HTML competes with Windows and OS X. Yes, you can replace a Swing application with a Flex application if the application fits within the feature specification of Flash, but Swing is more similar to QT than Flex.

Continue reading "AMF.. huh?" »

March 19, 2008

Writing Teppefall applications in Javascript

It was never my intention to write Teppefall applications in Javascript, but here is a simple example on how to do it. The update system, the DSR (Teppefall Runtime) launcher and some Application logic is not available at this time because of dependency problems. It is hard to use Javascript when the concept of a Class is replaced with something else. And working with all kinds of adapter logic is also pretty confusing.

If you want to run this example, just move the /network_app folder into the Teppefall SDK root folder and run Network.cmd or NetworkOSX.sh. This demo showcases plugins, the taskbar icon, layout and basic setup.

You have to download Teppefall Layout to get the original layout file used in this example.

Teppefall SDK Javascript example: network_app.zip

network.js
network_plugins.js

Teppefall Network Teppefall Network

Continue reading "Writing Teppefall applications in Javascript" »

June 25, 2007

The funniest thing about Flex and Apollo (AIR) is...

Memory usage ! I get all teary eyed when I see this. Tamarin seems to be just as greedy as Hotspot.
Well.. at least in this totally non-scientific test. It is beta after all... dude.

Tamarin VS Hotspot - Apollo/AIR VS Java

June 21, 2007

JSlider is stupid

Why is this not the default behavior ?

Continue reading "JSlider is stupid" »

SystemTray and Swing

An attempt to merge SystemTray with a Swing JPopupMenu. If you like problems, try this code.

Continue reading "SystemTray and Swing" »

June 17, 2007

Awesome Java resource

Sun's Technical Articles and Tips . Tons of Java goodness.

June 03, 2007

Java Media

This blog post by Chris Adamson is a good read. Even got a line or two about Java FX in it.

This guy has been doing a lot (well, more than you) of Quicktime code and understand the boring problems. My addition to his words is that any new audio/video support is not really that helpfull without a new media Applet system or first class Web Start support. The current Applet loader just crashes Firefox over and over again. They have to rethink the class loading system and cut down the number of file reads on the disk. Starting an Applet today is like starting Photoshop.

Web Start is looking better and better, but is still a bitch to debug and still slightly retarded when in sandbox mode.

May 27, 2007

Writing Darkstar applications in Python

You don't have to use Java in order to create Darkstar applications. Here is a simple project I wrote in Python - py_dsi.zip.

Darkstar application written in Python

Continue reading "Writing Darkstar applications in Python" »

May 26, 2007

Using Darkstar 2D in a CAPTCHA system

Darkstar 2D, the system that powers Surface, can also be used in web applications. Here is a simple example in the form of a visual barrier. Darkstar 2D also supports rendering over Java RMI if you need to be able to read Photoshop PSD files on a Mac from a Linux server. The RMI code takes forever to initialize but is quite snappy when operational.

This example is running on a Linux box and uses -Djava.awt.headless=true since it has no GUI system installed.

visualbarrier

May 20, 2007

Java FX

There has been a lot of broo-ha about Sun's new Java FX platform. Personally I see Java FX as an attempt to move forward on the mobile platform and to replace Java ME with a more powerful Java SE stack, but a lot of people see this as a Flash/Flex/WPF competitor and therefore po-po it as such. Maybe the people at Sun didn't get or read the memo. Or maybe the memo raised an ArrayIndexOutOfBoundsException when reading it backwards. Who knows.

Continue reading "Java FX" »

This website is all about alpha and beta software

Download non-beta software here