private static void buildGui() throws InterruptedException, InvocationTargetException {
SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
Deal g = createSampleGame();
MainViewImpl mainView = new MainViewImpl("Gnubridge Analysis Mode");
AnalysisView pv = new AnalysisView(mainView);
pv.show();
mainView.show();
pv.setGame(g, South.i());
pv.setContract(new Bid(1, g.getTrump()));
pv.setListener(new MockCardPlayedListener());
pv.displayCurrentTrick();