SimpleUpdate of headless server steals focus from a jframe

That code cant really provide singleton, you should do it in this way.

private final static ServerMain server = new ServerMain();

public static ServerMain getServer() {
    return server;
}

But, as you can only have one app, no need singleton in fact.