Class AbstractGUI

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable, Accessible
Direct Known Subclasses:
AccountWindow, DLFSBrowser, EtchExplorer, EtchWindow, HackerTools, Identicon.IdenticApp, MainGUI, PeerGUI, PeerWindow, REPLClient, StateExplorer, SwapPanel, TransferPanel, WalletApp

public abstract class AbstractGUI extends JPanel implements Runnable
Base class for Convex GUI apps
See Also:
  • Field Details

    • frame

      protected JFrame frame
  • Constructor Details

    • AbstractGUI

      public AbstractGUI(String title)
  • Method Details

    • run

      public final void run()
      Runs this GUI component asynchronously in a new Frame
      Specified by:
      run in interface Runnable
    • runNonModal

      public void runNonModal(JComponent parent)
      Runs this GUI component new Frame, positioned relative to a given parent
    • showFrame

      public void showFrame()
    • runUntilClosed

      public void runUntilClosed()
      Runs this GUI element until it is closed
    • setupFrame

      public void setupFrame(JFrame frame)
      Implementations should override this to add the gui components and configure the GUI frame
      Parameters:
      frame - Frame in which to set up this GUI screen
    • afterRun

      public void afterRun()
      Called after the GUI interface is run
    • waitForClose

      public void waitForClose()
    • getFrame

      public JFrame getFrame()
    • close

      public void close()
    • closeGUI

      public void closeGUI()