XWindow implements DisplaySurface { @Override public ListenableFuture<Void> show() { final int winId = getWindowId(); return this.xExecutor.submit(new Runnable() { @Override public void run() { LOG.debug("[winId={}] show.", winId); xcb_map_window(getConnectionRef(), winId); xcb_flush(getConnectionRef()); } }, null); } @AssistedInject  XWindow(final XTime xTime,
            final XConnection xConnection,
            @Nonnull @Assisted final DisplaySurfaceHandle resourceHandle,
            @DisplayExecutor final ListeningExecutorService xExecutor); @Override void register(final Object listener); @Override void post(final Object event); @Override void unregister(final Object listener); @Override void register(final Object listener,
                         final ExecutorService executor); @Override DisplaySurfaceHandle getDisplaySurfaceHandle(); @Override ListenableFuture<Void> destroy(); @Override ListenableFuture<Void> setInputFocus(); @Override ListenableFuture<Void> lower(); @Override ListenableFuture<Void> show(); @Override ListenableFuture<Void> move(final int x,
                                       final int y); @Override ListenableFuture<Void> moveResize(final int x,
                                             final int y,
                                             final int width,
                                             final int height); @Override ListenableFuture<Void> raise(); @Override ListenableFuture<Void> setParent(final DisplayArea parent,
                                            final int x,
                                            final int y); @Override ListenableFuture<Void> resize(final int width,
                                         final int height); @Override ListenableFuture<Void> hide(); @Override ListenableFuture<Rectangle> getGeometry(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void testShow() { this.xWindow.show(); }