This  class should not use java.awt.Dialog