public void drawHighlight(Graphics g,int w,int h){
  drawNode(g,w,h);
  g.setColor(Color.yellow);
  g.fillOval((int)(m_x * w) - 5,(int)(m_y * h) - 5,11,11);
}

public void drawHighlight ( Graphics g , int w , int h ) { drawNode ( g , w , h ) ; g . setColor ( Color . yellow ) ; g . fillOval ( ( int ) ( m_x * w ) - 5 , ( int ) ( m_y * h ) - 5 , 11 , 11 ) ; }
call this function to draw the node highlighted .
