view.getContainer().addFocusListener(focusHandler);
view.getJComponent().addFocusListener(focusHandler);
    public void add(DrawingView view) {        views.add(view);        view.addNotify(this);        view.getContainer().addFocusListener(focusHandler);        if (tool != null) {            view.addMouseListener(tool);            view.addMouseMotionListener(tool);            view.addKeyListener(tool);        }        updateFocusedView();    }