moonWalk demo

My first real applet :) One can visualize Newick trees and mark the sub trees that is spanned by a set of leafs [it's pretty cool, but you probably can't use it]:

I actually started to code this in DHTML, and quickly gave up, because DHTML just isn't ready for thins kind of visualization. The cool part about Java is that it just works - one does not have to find smart hacks. I just think I have forgotten the power of things just working...

An example, some days ago I met 2 bugs while working with events in Safari and Opera:

  • Safari: keyPress event is fired twice for arrow keys!? The key value of up arrow is 63233 (instead of 40).
  • Opera: event.preventDefault() does not work for arrow keys (or enter for that matter).

I have solved the Safari issue, and I have given up supporting Opera. It's small issues like this that one has to solve _all_ the fucking time when coding DHTML.

Code 1. Nov 2006
© Amir Salihefendic. Powered by Skeletonz.