ECE 538 Assignment 9

Your submission should follow our general guidelines. Please follow object-oriented principles. Include an executable jar file for each program.

  1. Generate a final version of your circuit layout/analysis program as extended from earlier assignments. Your program should allow the user to generate a complete circuit diagram starting from choosing a New circuit (in File menu). You should then be able to solve for the unknown mesh voltages and currents. You should also be able to save a netlist file and open it later to make changes in the circuit. This version should also implement a JPopupMenu with a menu item to rotate the selected circuit component or edit the component (using a dialog box).

    Demonstrate the operation of your program during the last week of class.

  2. Write a Java program to identify the coins in the images in See notes for hints.

  3. Improve your robot controller from asgn08 (if necessary) and incorporate it into game2. The goal of the game is to steer the robot to the yellow X as quickly as possible.

    Demonstrate the operation of your program during the last week of class.

  4. Write a Java program to read an html file from the web and list the images and hyperlinks found in the program.

    Extend the previous program to read and save the image files found on an html file from the web. See code

  5. Modify the TicTacToeServer class to test for a win, loss or draw after each move. Send a message to each client that indicates the result of the game when the game is over. Modify the TicTacToeClient class to display a button that when clicked allows the client to play another game. The button should be enabled only when a game completes. Both class TicTacToeClient and class TicTacToeServer must be modified to reset the board and all state information. Also, the other TicTacToeClient should be notified that a new game is about to begin so that its board and state can be reset. Download original program from

  6. Implement at least two new Java Swing user-interface demos from the Java Swing tutorial (see SwingUI reference).

  7. Modify the code in to run as a Swing application not a JApplet.

  8. Add a few new Knock, Knock jokes to the KnockKnockServer. Your jokes should come up first. See KnockKnock code to download source.

Maintained by John Loomis, last updated 24 April 2017