Class ConvexClient

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable, Accessible

public class ConvexClient extends AbstractGUI
A Client application for the Convex Network. Doesn't run a Peer. Connects to convex.world.
See Also:
  • Field Details

    • maxBlock

      public static long maxBlock
    • convex

      protected Convex convex
    • tabs

      public JTabbedPane tabs
    • replPanel

      public REPLPanel replPanel
  • Constructor Details

    • ConvexClient

      public ConvexClient(Convex convex)
      Create the application.
      Parameters:
      convex - Convex client instance
  • Method Details

    • main

      public static void main(String[] args) throws IOException, TimeoutException
      Launch the application.
      Parameters:
      args - Command line argument
      Throws:
      TimeoutException - In case of timeout
      IOException - In case of connection error
    • switchPanel

      public void switchPanel(String title)
    • setupFrame

      public void setupFrame(JFrame frame)
      Description copied from class: AbstractGUI
      Implementations should override this to add the gui components and configure the GUI frame
      Overrides:
      setupFrame in class AbstractGUI
      Parameters:
      frame - Frame in which to set up this GUI screen