Main

April 24, 2008

Mixing FX and Layout

I am not sure if people are aware of this, but you can run Teppefall FX scripts within Teppefall Layout.

scheme.jfc - Teppefall Layout (14).png

scheme.jfc - Teppefall Layout (15).png

Also, here is Colorspace in Titanium White LAF.

Colorspace.png

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" »

September 11, 2007

Colorspace 1.5, Layout 3.2, FX 3.2 and Darkstar 20070905

New features:

Colorspace supports the scroll wheel. One NPE fixed. Both fixes by Luan. Decimal values are written to standard output when the decimal check box is selected. 200-500ms shaved off About dialog launch. Colorspace no longer runs under a security policy since it causes to many problems on OS X.

Darkstar applications now have focus aware menus under Titanium LAF. A feature from the stone age. Just use com.teppefall.ds.Application in the same way as before. This means that the foreground color of your menu goes dark (under Titanium) when the JFrame loses focus.

The DSR executable supports the -Xchrome parameter. This turns on the native chrome and is the same as -Dteppefall.chrome=true.

DSR can launch multiple applications at the same time. Just add a comma separator between class names. A word of warning though. Running threads might block the shutdown process, so closing down resources on application exit is paramount. Note that DSR today has a very high probability of not closing down properly.

Other issues:

If Darkstar FX is unable to create HTML and thumbnails you should try the -Xinsecure parameter. FX and Layout run under security managers and can fail if the policy file is not perfect. Strange problems when running under DSR might also be a result of the security policy.

Continue reading "Colorspace 1.5, Layout 3.2, FX 3.2 and Darkstar 20070905" »

July 13, 2007

tabindex="99"

In HTML all I have to do is write tabindex="99" if I want something to be last in a tabbed sequence. In JFC we have setFocusable(false) which works, but it is not what I want. Sure setFocusTraversalPolicy is available but who in their right mind would use it ?

Do I really have to write +100 lines of non-reusable code just to get tabindex="99" ?

tabindex="99" is currently pissing me off :) It's a stupid hack and it has been removed from my HTML. Maybe I'll change my mind tomorrow.

June 05, 2007

Java JFC links

Swing X, Substance, Curious Creature, JNA, Swing Labs, Java Desktop, Java Posse, OnJava J2SE.

May 16, 2007

Photoshop mock-up

Intelligent forms should make the JFC experience more inviting. Subtle hints are more user friendly than "ERROR ERROR" after move, click, move, click, move, click, click, etc. The inspiration comes from the Web 2.0 movement, but the concept is very old. Very 1999 I guess.

This is just a Photoshop mock-up by myself, but according to some trusted sources we might see this functionality very soon.

Form hints Photoshop mock-up

May 14, 2007

Huge update - Fabric/Surface/Darkstar

Tons of polish. Windows versions should be awesome.
Mac versions might have some problems :( Shutdown logic might be borked more than before.

Fabric 2.3

Continue reading "Huge update - Fabric/Surface/Darkstar" »

April 30, 2007

JFC/Swing musings (repost)

I am not a JFC/Swing expert. But here are some musings about JFC/Swing development. Resposting from my personal page.

Continue reading "JFC/Swing musings (repost)" »

This website is all about alpha and beta software

Download non-beta software here