Class AbstractGUI

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable, Accessible
Direct Known Subclasses:
AccountWindow, ConvexClient, DLFSBrowser, EtchExplorer, EtchWindow, HackerTools, Identicon.IdenticApp, MainGUI, PeerGUI, PeerWindow, 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()
      Specified by:
      run in interface Runnable
    • runNonModal

      public void runNonModal(JComponent 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()