194195196197198199200201202203204
//f.add(new PaintedPath(line1)); //Line2D line2 = new Line2D.Double(70,50,90,50); //f.add(new PaintedPath(line2)); layer.add(g); g.setInteractor(defaultInteractor); g.translate(100, 0); } /** Main function */ public static void main(String[] argv) {