else g.setColor((this==view.getHilitedObject()) ?
else g.setColor((view.isHilitedObject(this)) ?
protected void draw(Graphics g, boolean hilited) {	ViewState view = ViewState.getInstance();	int rrx = getRx()-view.getRx();	int rry = getRy()-view.getRy();	int rwidth = getRwidth();	int rheight = getRheight();			// clipping	if ((!(rrx>view.getViewWidth()) || (rry>view.getViewHeight())	    || ((rrx+rwidth)<0) || ((rry+rheight)<0))) {		if (!hilited) g.setColor(Constants.RECORD_COLOR);		else if (view.isPicked(this)) g.setColor(Constants.PICK_COLOR);		else if (view.isSelected(this) ||				 view.isBlinking(this)) g.setColor(Constants.SELECTION_COLOR);		else g.setColor(Constants.RECORD_COLOR);			g.fillRect(rrx, rry, rwidth, rheight);		if (!hilited) g.setColor(Constants.FRAME_COLOR);		else g.setColor((this==view.getHilitedObject()) ? 						Constants.HILITE_COLOR : Constants.FRAME_COLOR);		g.drawRect(rrx, rry, rwidth, rheight);		if (getFont()!=null) {			g.setFont(getFont());			g.drawString(getLabel(), rrx+getRlabelX(), rry+getRlabelY());		}		}	// paint components/*	VisualObject vo;					Enumeration e = getObjects();	while (e.hasMoreElements()) {	  vo = (VisualObject)(e.nextElement());	  if (vo instanceof GroupFieldObject) vo.paint(g, dp);	}*/}