Skip to content

Commit

Permalink
Merge pull request DonaldHakeII#2 from tredfern1/master
Browse files Browse the repository at this point in the history
CS320 Lab 2
  • Loading branch information
Derek-Herr77 authored Feb 17, 2021
2 parents 5b0c615 + 34ef5d9 commit 45d3c18
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,11 @@ protected void paintComponent(Graphics g) {
// djh2-KEC110-21: changed from GREEN to RED
// djh2-YCPlaptop: change from RED to YELLOW

g.setColor(Color.GREEN);


// lbradley1: change from YELLOW to BLUE
g.setColor(Color.BLUE);
//setColor(Color.BLUE);

Square square = model.getSquare();

Expand All @@ -95,6 +98,10 @@ public void run() {
square.setX(300.0);
square.setY(220.0);

//uare.setWidth(60.0);
//uare.setHeight(25);
=======

// lbradley1: change the size of the square to be smaller
square.setWidth(25.0);
square.setHeight(25.0);
Expand Down

0 comments on commit 45d3c18

Please sign in to comment.