<?xml version="1.0" encoding="UTF-8" standalone="no"?><umlet_diagram><help_text>// Uncomment the following line to change the fontsize:

// Welcome to UMLet!
//
// Double-click on UML elements to add them to the diagram.
// Edit element properties by modifying the text in this panel.
// Edit the files in the 'palettes' directory to create your own element palettes.
// Hold down Ctrl to select multiple elements.
// Press Del to delete elements.
// Press Ctrl-c to copy an element, and to store the whole UML diagram to the system clipboard.
// Select "Custom elements &gt; New..." to create new element types.
//
// This text will be stored with each diagram;  use it for notes.</help_text><element><type>com.umlet.element.base.Class</type><coordinates><x>270</x><y>110</y><w>360</w><h>170</h></coordinates><panel_attributes>Exam2Frame
--
size:  900 x 700
title:  "Exam 2 Frame"
default close operation:   EXIT_ON_CLOSE
layout manager: FlowLayout
 
--
Exam2Frame: sets its characteristics
(size, title, default close operation and layout manager)
and adds its 2 panels
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>340</x><y>10</y><w>100</w><h>30</h></coordinates><panel_attributes>JFrame</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>370</x><y>19</y><w>40</w><h>111</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;20;20;91</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>490</x><y>0</y><w>220</w><h>70</h></coordinates><panel_attributes>Main
--
 
--
main:  displays its Exam2Frame</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>444</x><y>50</y><w>172</w><h>80</h></coordinates><panel_attributes>lt=&lt;-
                  constructs</panel_attributes><additional_attributes>86;60;86;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>50</x><y>340</y><w>290</w><h>220</h></coordinates><panel_attributes>CyanPanel
--
size:  800 x 300
color:  CYAN
layout manager: FlowLayout
tool tip: "This is the CYAN panel"
 
--
CyanPanel: sets its characteristics
(size, color, layout manager and tool tip)
and adds its buttons
 
mouseClicked: resets all the
LightGrayButtons on this CyanPanel to "1"</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>380</x><y>380</y><w>100</w><h>30</h></coordinates><panel_attributes>JPanel</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>319</x><y>380</y><w>81</w><h>40</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>61;20;20;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>540</x><y>340</y><w>270</w><h>160</h></coordinates><panel_attributes>YellowPanel
--
size:  500 x 300
color:  YELLOW
layout manager: FlowLayout
tool tip: "This is the YELLOW panel"
 
--
YellowPanel:  sets its characteristics
(size, color, layout manager and tool tip)</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>460</x><y>380</y><w>100</w><h>40</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;20;80;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>198</x><y>259</y><w>184</w><h>101</h></coordinates><panel_attributes>lt=&lt;-
                     constructs</panel_attributes><additional_attributes>72;81;112;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>476</x><y>259</y><w>168</w><h>101</h></coordinates><panel_attributes>lt=&lt;-
                 constructs</panel_attributes><additional_attributes>104;81;64;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>50</x><y>620</y><w>180</w><h>120</h></coordinates><panel_attributes>LightGrayButton
--
color:  LIGHT_GRAY
text:  "1" initially
--
Pressing this button
increases its number by 1
(hence to "2", "3", "4", etc).</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>60</x><y>820</y><w>100</w><h>30</h></coordinates><panel_attributes>JButton</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>200</x><y>820</y><w>130</w><h>30</h></coordinates><panel_attributes>/ActionListener/
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>2</x><y>539</y><w>176</w><h>101</h></coordinates><panel_attributes>lt=&lt;-
                   constructs
m1=          100</panel_attributes><additional_attributes>88;81;88;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>70</x><y>719</y><w>40</w><h>121</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;101;20;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>120</x><y>719</y><w>100</w><h>121</h></coordinates><panel_attributes>lt=&lt;&lt;.</panel_attributes><additional_attributes>80;101;20;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>390</x><y>450</y><w>130</w><h>30</h></coordinates><panel_attributes>/MouseListener/</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>319</x><y>450</y><w>91</w><h>40</h></coordinates><panel_attributes>lt=&lt;&lt;.</panel_attributes><additional_attributes>71;20;20;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>500</x><y>620</y><w>410</w><h>180</h></coordinates><panel_attributes>WhiteButton
bg=gray
--
color:  WHITE
text:  "1" initially
--
Pressing this button:
  a. Increments its own number.
  b. Changes the background color of its CyanPanel to PINK.
  c. Changes the background color of the YellowPanel to BLUE.
  d. Increments the number of the sole LightGrayButton.
      on the YellowPanel.</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>209</x><y>680</y><w>311</w><h>40</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;20;291;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>320</x><y>510</y><w>260</w><h>130</h></coordinates><panel_attributes>lt=&lt;-
m1=                                    constructs 1</panel_attributes><additional_attributes>180;110;20;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>210</x><y>480</y><w>400</w><h>160</h></coordinates><panel_attributes>lt=&lt;-
                                        constructs
m1=1</panel_attributes><additional_attributes>20;140;380;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>320</x><y>540</y><w>200</w><h>130</h></coordinates><panel_attributes>lt=&lt;-</panel_attributes><additional_attributes>20;20;180;110</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>640</x><y>480</y><w>40</w><h>160</h></coordinates><panel_attributes>lt=&lt;-</panel_attributes><additional_attributes>20;20;20;140</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>210</x><y>640</y><w>310</w><h>40</h></coordinates><panel_attributes>lt=&lt;-
m1=has the one on the YellowPanel</panel_attributes><additional_attributes>20;20;290;20</additional_attributes></element></umlet_diagram>