Homework
3
Brain
View
Controller
Client
Blackboard
PostOffice
Model
Server
Publisher
Subscriber
Slide 3
Slide 3 text
Let’s Work
4
•Create a Desktop Application
•Using Java SDK 20 (verbose programming language)
•Java Swing for Graphics
•User Experience
(from installation configuration to using it)
Slide 4
Slide 4 text
1. Java Desktop Application
Eye Tr
a
cking Simul
a
tor (size, speed)
5
Slide 5
Slide 5 text
2. Java Desktop Application
A
ff
ect Recognition (speed)
6
Slide 6
Slide 6 text
3. Java Desktop Application
He
a
d Movement
7
Slide 7
Slide 7 text
4. Java Desktop Application
Cobot Simul
a
tor
8
Slide 8
Slide 8 text
5. Java Desktop Application
Hub
9
Slide 9
Slide 9 text
Questions
10
Slide 10
Slide 10 text
Remember the Process
Slide 11
Slide 11 text
From an Idea
12
Main
Factory
Gift Ball Box Envelop
Slide 12
Slide 12 text
To a draft of Standard Concepts (Patterns)
13
wrapper2
Main wrapper1
Factory
decoration
Envelope
Box
Gift
wrapper3
ball
Supervisor
Is big > 10, box Is small < 5, envelop
Slide 13
Slide 13 text
To Code
14
Slide 14
Slide 14 text
Factory
15
Slide 15
Slide 15 text
Chain of Responsibilities
16
Slide 16
Slide 16 text
Decorator
17
Slide 17
Slide 17 text
Decorator
18
Slide 18
Slide 18 text
Observer
19
Slide 19
Slide 19 text
No content
Slide 20
Slide 20 text
Two more thing
Slide 21
Slide 21 text
Idea 1
22
Main
Factory
Gift Ball Box Envelop
Handler
Supervisor
Bin
Slide 22
Slide 22 text
Idea 1
23
In main:
In ConcreteHandlerWithBox:
In ConcreteHandlerWithEnvelop:
Slide 23
Slide 23 text
Idea 2
24
Main
Factory
Gift Ball Box Envelop
Handler
Supervisor
Bin
GUI
Slide 24
Slide 24 text
Idea 2
25
Slide 25
Slide 25 text
Idea 2 :: the GUI elements
26
Slide 26
Slide 26 text
Idea 2 :: Listener
27
Slide 27
Slide 27 text
Idea 2
28
Main
Factory
Gift Ball Box Envelop
Handler
Supervisor
Bin
GUI
Slide 28
Slide 28 text
CSC 509 Software Engineering
Javier Gonzalez-Sanchez, Ph.D.
[email protected]
Fall 2024
Copyright. These slides can only be used as study material for the class CSC509 at Cal Poly.
They cannot be distributed or used for another purpose.