Sequence Diagram “Initializing GUI from PD”
user_interface
Diagram Node Summary
Object
Object
Sequence: 1
Object
Sequence: 1.1
Object
Sequence: 1.2
Object
Sequence: 1.3
Sequences
Number Type Description Node
1 Message theUI initial
Activation1
1.1 Message initial currentSale
Operation:
getTime():Date
Activation2
1.2 Message initial jLabelTimeStamp
Operation:
setText(java.lang.String):void
Arguments:
DateFormat.getDateInstance().format(currentSale.getTime())
Activation3
1.3 Message initial jLabelCashier
Operation:
setText(java.lang.String):void
Arguments:
cashiers[(int)(Math.random() * 10.0)]
Activation4
Diagram Node Detail
Object "theUI"
Stereotype:
actor
All Outgoing Links
Message
to Object initial
Sequence Number:
1

Object "initial"
All Outgoing Links
Message
to Object currentSale
Sequence Number:
1.1
Message
to Object jLabelCashier
Sequence Number:
1.3
Message
to Object jLabelTimeStamp
Sequence Number:
1.2
Dependency
to Class POSFrame (in Package Diagram user_interface)

Object "currentSale"
All Outgoing Links
Dependency
to Class CashSale (in Package Diagram problem_domain)

Object "jLabelTimeStamp"
All Outgoing Links
Dependency
to Class JLabel

Object "jLabelCashier"
All Outgoing Links
Dependency
to Class JLabel