v.getContainer().repaint();
v.getJComponent().repaint();
            public void itemStateChanged(ItemEvent event) {                Constrainer c;                if (toggleGridButton.isSelected()) {                    c = new GridConstrainer(10,10);                } else {                    c = new GridConstrainer(1,1);                }                for (DrawingView v : editor.getDrawingViews()) {                    v.setConstrainer(c);                    v.getContainer().repaint();                }            }