I've been hacking around with Java Swing classes during free moments
over the Canadian Thanksgiving weekend, and I have managed to come up
with a minimally-used FlightGear airport viewer. I'm using JDK 1.4,
but 1.3 might work as well (if it has the Java2D graphics API
bundled).  To try it out, follow these steps:

1. Copy $FG_ROOT/Airports/basic.dat.gz and
   $FG_ROOT/Airports/runways.dat.gz to some other location and unzip
   them.

2. Download http://www.megginson.com/flightsim/apteditor.jar (14K).

3. Type "java -jar apteditor.jar basic.dat runways.dat" to start.

You can also add a fourth argument containing the ID of the default
starting airport, as in

  java -jar apteditor.jar basic.dat runways.dat KSFO

I'm going to try to make this into a proper editor, but for now, it
just makes for a cute, minimalist viewer.  I'll package up the source
code when I have time -- so far, it's not commented or even sorted
into packages.


All the best,


David

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to