1 package org.catacomb.graph.gui; 2 3 4 import java.awt.Graphics2D; 5 6 7 class PointPainter { 8 9 Graphics2D g; 10 11 12 13 14 void setGraphics(Graphics2D g2d) { 15 g= g2d; 16 } 17 18 19 20 /* 21 void highlight(BenchPoint bp) { 22 23 int xc = bp.getX(); 24 int yc = bp.getY(); 25 int hw = bp.getRX(); 26 int hh = bp.getRY(); 27 28 g.setColor(Color.green); 29 30 g.drawRect(xc - hw, yc - hw, 2 * hw, 2* hh); 31 } 32 */ 33 34 }