if( o instanceof Radar )
{ // if( im == null )
// remove the comment on the previous line to see a trail of
// markes left on screen
{ im = createImage( screenSize, screenSize );
}
Graphics g = im.getGraphics();
g.setColor( Color.black );
Vector v = (Vector)a;
for( int aircraft = 0; aircraft < v.size(); aircraft++ )
{ AircraftData ad = (AircraftData)(v.elementAt( aircraft ));
g.drawRect( halfScreen + ad.east*halfScreen/25000, halfScreen - ad.north*halfScreen/25000, 1, 1 );
}
g.dispose();
theScreen.setImage( im );
theScreen.repaint();
}