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 asgn6 (Q1 - dialog box), asgn7 (Q1, Q2, and Q3), and asgn8 (Q1). 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).

    The LTSpice version of the circuit below (and results) can be downloaded from Note that our netlists include location information, wires, and have a different syntax.

    R1 2 1 100
    R2 3 2 300
    R3 0 4 500
    R4 0 5 200
    VA 3 5 6
    I1 2 4 0.005
    R5 1 0 400

  2. Write a Java program to perform Dilation and Erosion on a binary image. See morph1 for MATLAB examples and download, which contains the MATLAB code and the test image shown below.

  3. Implement at least three Java Swing user-interface demos from the Java Swing tutorial (see SwingUI reference).

Maintained by John Loomis, last updated 27 July 2016