Author: Mark Boylan
Date: 16:04:29 02/27/06
Go up one level in this thread
Hi Christos, I've started implementing a board using straight Java2D. Then I thought, "why not use a JTable?" I had it almost all working: drag & drop, ChessTableModel... Then I discovered Apache Batik and I'm starting over again. Batik is an SVG (Scalable Vector Graphics) library from the Apache XML Project that will let you decribe your board and pieces in XML as vector art. You can create the artwork in something like Illustrator and manipulate it in Java (or even in JavaScript). It's like Flash on steroids. I'm envisioning pluggable symbol libraries, that can be created in Illustrator or something similar to easily add new piece shapes & board textures. I was able to throw together a really simple board on Sunday afternoon just by following the examples in the documentation. http://xmlgraphics.apache.org/batik/ - mark
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.