invocation.getShell().enableMainBuffer();
}
private void doGfx() {
try {
GraphicsConfiguration gc = new AeshGraphicsConfiguration(invocation.getShell());
g = gc.getGraphics();
g.setColor(new TerminalColor(Color.BLUE, Color.DEFAULT));
g.drawRect(20, 10, 20, 4);
Thread.sleep(500);
g.flush();