if (ae.getActionCommand().equals("changeSinks")) {
if (ae.getActionCommand().equals("changeSinks") && !dontChange) {
    public void actionPerformed(ActionEvent ae) {        if (ae.getActionCommand().equals("changeSinks")) { //$NON-NLS-1$/*            prompt = new Prompt (clientgui.frame, Messages.getString("MechDisplay.changeSinks"), Messages.getString("MechDisplay.changeSinks"),                                     String.valueOf(sinks), 10);            if (!prompt.showDialog()) return;            int helper = Integer.parseInt(prompt.getText()); */            prompt = new Slider (clientgui.frame, Messages.getString("MechDisplay.changeSinks"), Messages.getString("MechDisplay.changeSinks"),                                 sinks, 0, ((Mech)clientgui.getClient().game.getEntity(myMechId)).getNumberOfSinks());            if (!prompt.showDialog()) return;            int helper = prompt.getValue();            ((Mech)clientgui.getClient().game.getEntity(myMechId)).setActiveSinksNextRound(helper);            clientgui.getClient().sendUpdateEntity(clientgui.getClient().game.getEntity(myMechId));            clientgui.getClient().sendChat ("Player " + clientgui.getClient().getLocalPlayer().getName() + " turned on " + helper + " heat sinks in entity " + clientgui.getClient().game.getEntity(myMechId).getDisplayName());        }    }