finally have a functioning jlayeredpane