[JAVAGUI] issue #71 - throws an exception if the parent window is not active before using a component