/** Implement MouseListener interface highlight button state */ public void mouseEntered(MouseEvent e) { super.mouseEntered(e); this.setBorder(BorderFactory.createLineBorder(Color.yellow)); Comment comment = workspace.getEnv().getRenderableBlock(getBlockID()).getComment(); comment.setVisible(true); comment.showOnTop(); }