Package memely

Class Main

java.lang.Object
memely.Main

public class Main
extends Object
Console interface to the expression system.

PS3 instructions: you are free to change this user interface class.

  • Method Details

    • main

      public static void main​(String[] args) throws IOException
      Read expression and command inputs from the console and output results. An empty input terminates the program.
      Parameters:
      args - unused
      Throws:
      IOException - if there is an error reading the input
    • showInWindow

      public static void showInWindow​(String windowTitle, BufferedImage image)
      Display an image in a new window exactly sized to fit the image.
      Parameters:
      windowTitle - title for window's titlebar
      image - image to display