Slide 1

Slide 1 text

Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227 CSC 305 Individual Software Design and Development Lecture 13. Connecting the Dots

Slide 2

Slide 2 text

✅ Quality Metrics ✅ Dependency Management ✅ Multithreading ✅ User Interfaces++ Week 07 2 ✅ Clean Code ✅ Object-Oriented Design

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Connecting the Dots Let’s review Assignment 02

Slide 5

Slide 5 text

The Assignment 2 5 Size control is managed through the alpha value: with zero lines the display is fully transparent, and as the number of lines increases toward the maximum, the color becomes darker. Complexity is represented by color, determined by the total number of conditional or loop statements (if, switch, while, for). When this total exceeds ten, the color is red; when it is greater than five, the color is yellow; otherwise, it is green.

Slide 6

Slide 6 text

Storyboarding 6 OK URL

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Main

Slide 11

Slide 11 text

TheNanny

Slide 12

Slide 12 text

GridPanel (1/4)

Slide 13

Slide 13 text

GridPanel (2/4)

Slide 14

Slide 14 text

GridPanel (3/4)

Slide 15

Slide 15 text

GridPanel (4/4)

Slide 16

Slide 16 text

Delegate (1/2)

Slide 17

Slide 17 text

Delegate (2/2)

Slide 18

Slide 18 text

Blackboard (1/2)

Slide 19

Slide 19 text

Blackboard (2/2)

Slide 20

Slide 20 text

Square

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

Code 22 https://github.com/CSC3100/App-GithubViz

Slide 23

Slide 23 text

Assignment 03

Slide 24

Slide 24 text

Assignment 02 24

Slide 25

Slide 25 text

Assignment 03 25 Calculate per File: - Abstractness - Instability Draw in the 2D space -Files (Classes) -Packages (Folders) Painful Useless Abstractness Instability

Slide 26

Slide 26 text

Questions 26

Slide 27

Slide 27 text

Lab

Slide 28

Slide 28 text

Let’s work Cre a te this GUI using J a v a : 1. Blue b a r a t the top with your n a me. 2. A grid a t the center. Use MouseListener to a llow the user to click on a squ a re a nd ch a nge the color to yellow 3. The f ive buttons on the bottom. Only “Cle a r" need to work. Ignore the others. 4. The gr a y-box over the grid with the sliders c a n be ignored. Do not a dd it a t this moment. 28

Slide 29

Slide 29 text

Let’s work 29

Slide 30

Slide 30 text

CSC 305 Individual Software Design and Development Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall 2025 Copyright. These slides can only be used as study material for the class CSC305 at Cal Poly. They cannot be distributed or used for another purpose.