public void mouseClicked(MouseEvent e) {
        if(isEnabled && (e.getModifiers()&InputEvent.BUTTON1_MASK) != 0) {
			if (binary.isVisible()) {
				binary.hideBinary();
				// The pinsTable didn't get the selection message since it
				// was disabled. Enable it and select the correct row.
				pinsTable.setEnabled(true);
				pinsTable.changeSelection(pinsTable.rowAtPoint(e.getPoint()),
										  pinsTable.columnAtPoint(e.getPoint()),
										  false, false);
				pinsTable.grabFocus();
			}
            if (e.getClickCount() == 2) {
                if(dataFormat == Format.BIN_FORMAT) {
                    pinsTable.setEnabled(false);
                    binary.setLocation((int)getLocation(pinsTable.getSelectedRow()+1).getX(), (int)getLocation(pinsTable.getSelectedRow()+1).getY() );
                    binary.setValue(pins[pinsTable.getSelectedRow()].value);
                    binary.setNumOfBits(pins[pinsTable.getSelectedRow()].width);
                    binary.showBinary();
                }
            }
        }
    }