question: public ChessSquare ( Composite parent , ChessBoard chessBoard , int id , boolean isLight ) { super ( parent , SWT . DOUBLE_BUFFERED | SWT . NO_BACKGROUND ) ; board = chessBoard ; this . id = id ; this . isLight = isLight ; addPaintListener ( paintListener ) ; addControlListener ( controlListener ) ; addMouseListener ( mouseListener ) ; addListener ( SWT . MouseWheel , mouseWheelListener ) ; addListener ( SWT . MouseDown , dndListener ) ; addListener ( SWT . MouseUp , dndListener ) ; }
target:  Creates a ChessSquare tied to the specified board.