public void updateObject(Map<String, Integer> coeff)
    {
        if(null != object)
        {
            for(Map.Entry<String, Integer> mapEntry : coeff.entrySet())
            {
                String key = mapEntry.getKey();
                if("k".equals(key))
                {
                    k = mapEntry.getValue();
                    object.setK(k);
                }
                if("kU".equals(key))
                {
                    y0 += mapEntry.getValue();
                    object.setKU(mapEntry.getValue());
                }
                if("kL".equals(key))
                {
                    x0 += mapEntry.getValue();
                    object.setKL(mapEntry.getValue());
                }
                if("x0".equals(key))
                {
                    x0 = mapEntry.getValue();
                    object.setX0(mapEntry.getValue());
                }
                if("y0".equals(key))
                {
                    y0 = mapEntry.getValue();
                    object.setY0(mapEntry.getValue());
                }
                if("width".equals(key))
                {
                    object.setWidth(mapEntry.getValue());
                }
                if("height".equals(key))
                {
                    object.setHeight(mapEntry.getValue());
                }
            }
            repaint();
        }
    }