curHex = (Hex)hex.duplicate();
curHex = hex.duplicate();
    public void setCurrentHex(IHex hex) {        curHex = (Hex)hex.duplicate();                texElev.setText(Integer.toString(curHex.getElevation()));                    refreshTerrainList();                if (lisTerrain.getItemCount() > 0) {            lisTerrain.select(0);            refreshTerrainFromList();        }                texTheme.setText(curHex.getTheme());        repaint();        canHex.repaint();    }