_requestPanel.setEditable(true); _requestPanel.setRequest(request); setVisible(true);
SwingUtilities.invokeLater(new Runnable() { public void run() { _requestPanel.setEditable(true); _requestPanel.setRequest(_request); setVisible(true); } });
    public synchronized Request editRequest(Request request) {        synchronized (this) {            _request = request;            _requestPanel.setEditable(true);            _requestPanel.setRequest(request);            setVisible(true);            try {                this.wait();            } catch (InterruptedException ie) {                System.out.println("Wait interrupted");            }            setVisible(false);            _requestPanel.setEditable(false);            return _request;        }    }