Collaboration "Clear All" Button - Wait-For-It-123/logiCAD GitHub Wiki
Steps to complete this task:
For this task you will mainly be working with the GUI.java file in our program. Check out the GUI wiki page for further details of the GUI.
- The first part of this task will be to create a new button with the label "CLEAR ALL". If you go into the GUI.java file and scroll down to approximately line 1060 you will see an example of how the button "DELETE" was created and you can use this to help you create the new "Clear All" button for this task.
- The next step for this would be to create a mouse listener that clears all of the arrays that we have created, thus would remove everything from the work space.
- The next step for this would be to make sure the button is set to invalid after it has been clicked.
- Finally test the program by creating a circuit and clicking the new clear all button you have created to make sure that everything on the screen is getting cleared.
- Once you have completed the task to the best of your ability please assign Christopher Orcutt as your reviewer for your pull request.
For any questions or concerns please ask them in our public LogiCAD Ryver page.