<?xml version="1.0" encoding="UTF-8" standalone="no"?><umlet_diagram><help_text>// Uncomment the following line to change the fontsize:
// fontsize=14

// 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>250</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 4 panels
</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>320</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>350</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>470</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>424</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>20</x><y>340</y><w>270</w><h>220</h></coordinates><panel_attributes>CyanPanel
--
size:  800 x 300
color:  CYAN
layout manager: FlowLayout
tool tip: "This is a CYAN panel"
 
--
CyanPanel: sets its characteristics
(size, color, layout manager and tool tip
and arranges for a mouse-click to
cause ALL the LIGHT_GRAY panels
on this CYAN panel to change color
as if they had been clicked themselves.</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>410</x><y>560</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>269</x><y>479</y><w>161</w><h>101</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>141;81;20;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>310</x><y>340</y><w>270</w><h>160</h></coordinates><panel_attributes>YellowPanel
--
size:  200 x 300
color:  YELLOW
layout manager: FlowLayout
tool tip: "This is a 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>430</x><y>480</y><w>40</w><h>100</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;80;20;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>173</x><y>259</y><w>184</w><h>101</h></coordinates><panel_attributes>lt=&lt;-
                     constructs</panel_attributes><additional_attributes>67;81;117;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>346</x><y>260</y><w>168</w><h>100</h></coordinates><panel_attributes>lt=&lt;-
m1=         2
                 constructs</panel_attributes><additional_attributes>84;80;84;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>600</x><y>340</y><w>270</w><h>160</h></coordinates><panel_attributes>PinkPanel
--
size:  400 x 300
color:  PINK
layout manager: FlowLayout
tool tip: "This is a PINK panel"
 
--
PinkPanel:  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>490</x><y>480</y><w>130</w><h>100</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;80;110;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>503</x><y>260</y><w>184</w><h>100</h></coordinates><panel_attributes>lt=&lt;-
                     constructs</panel_attributes><additional_attributes>117;80;67;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>40</x><y>630</y><w>240</w><h>189</h></coordinates><panel_attributes>LightGrayPanel
--
size:  50 x 50
color:  LIGHT_GRAY initially
--
Clicking this panel changes
its color to RED, unless it
already was RED, in whch
case it changes it to LIGHT_GRAY.
(So repeated clicking toggles
the color back and forth
between RED and LIGHT_GRAY.)</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>50</x><y>890</y><w>100</w><h>30</h></coordinates><panel_attributes>JPanel</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>190</x><y>890</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>170</x><y>798</y><w>80</w><h>112</h></coordinates><panel_attributes>lt=&lt;&lt;.</panel_attributes><additional_attributes>60;92;20;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>70</x><y>798</y><w>40</w><h>112</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;92;20;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>44</x><y>539</y><w>192</w><h>111</h></coordinates><panel_attributes>lt=&lt;-
                       constructs
m1=         40</panel_attributes><additional_attributes>96;91;96;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>291</x><y>640</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>230</x><y>540</y><w>100</w><h>120</h></coordinates><panel_attributes>lt=&lt;&lt;.</panel_attributes><additional_attributes>80;100;20;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>570</x><y>700</y><w>440</w><h>190</h></coordinates><panel_attributes>WhitePanel
--
color:  WHITE initially
--
Clicking in this panel:
  a. Changes its color like a LightGrayPanel changes its color
       (i.e. clicking in this panel changes its color to RED unless
       it is already RED, in which case clicking in this panel changes
       its color to LIGHT_GRAY).
  b. Changes the background color of its CyanPanel to GREEN.
  c. Makes its LightGrayPanel in the lefmost YellowPanel
      behave as if it were clicked.</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>670</x><y>570</y><w>130</w><h>70</h></coordinates><panel_attributes>BluePanel
--
size: 100 x 100
color:  BLUE</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>638</x><y>480</y><w>184</w><h>110</h></coordinates><panel_attributes>lt=&lt;-
                     constructs</panel_attributes><additional_attributes>92;90;92;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>490</x><y>560</y><w>200</w><h>70</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;20;180;50</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>638</x><y>620</y><w>184</w><h>100</h></coordinates><panel_attributes>lt=&lt;-
                     constructs</panel_attributes><additional_attributes>92;80;92;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>270</x><y>540</y><w>320</w><h>180</h></coordinates><panel_attributes>lt=&lt;-</panel_attributes><additional_attributes>20;20;300;160</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>260</x><y>716</y><w>330</w><h>54</h></coordinates><panel_attributes>lt=&lt;-
has the one on the leftmost YellowPanel</panel_attributes><additional_attributes>20;34;310;34</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>260</x><y>780</y><w>330</w><h>40</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;20;310;20</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>230</x><y>480</y><w>190</w><h>170</h></coordinates><panel_attributes>lt=&lt;-</panel_attributes><additional_attributes>20;150;170;20</additional_attributes></element><element><type>com.umlet.element.base.Note</type><coordinates><x>720</x><y>30</y><w>210</w><h>120</h></coordinates><panel_attributes>Note.
Implementation requirement:
 
This JButton must respond
to itself through an
ANONYMOUS class.</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>690</x><y>160</y><w>200</w><h>130</h></coordinates><panel_attributes>JButton
--
color:  ORANGE
text: "hello" initially
--
Pressing this button
changes its text
to "goodbye"</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>668</x><y>270</y><w>184</w><h>90</h></coordinates><panel_attributes>lt=&lt;-
                     constructs</panel_attributes><additional_attributes>92;20;92;70</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>830</x><y>570</y><w>280</w><h>120</h></coordinates><panel_attributes>BlackPanel
bg=gray
--
color:  BLACK initially
--
This panel behaves by itself
as if it is clicked every 5 seconds
(approximately), with the first "click" being
about 5 seconds after the program starts.</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>748</x><y>480</y><w>184</w><h>110</h></coordinates><panel_attributes>lt=&lt;-
                     constructs</panel_attributes><additional_attributes>92;90;92;20</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>900</x><y>390</y><w>150</w><h>110</h></coordinates><panel_attributes>LightGrayPanel
--
see description of
a LightGrayPanel
on the left side
of this class diagram</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>950</x><y>480</y><w>40</w><h>110</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>20;20;20;90</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>980</x><y>520</y><w>60</w><h>70</h></coordinates><panel_attributes>lt=&lt;&lt;.</panel_attributes><additional_attributes>40;20;20;50</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1000</x><y>510</y><w>100</w><h>30</h></coordinates><panel_attributes>/Runnable/
bg=gray
</panel_attributes><additional_attributes/></element></umlet_diagram>