<?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>240</x><y>120</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>310</x><y>20</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>340</x><y>29</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>460</x><y>10</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>414</x><y>60</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>10</x><y>350</y><w>270</w><h>220</h></coordinates><panel_attributes>CyanPanel
bg=gray
--
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>400</x><y>570</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>259</x><y>489</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>300</x><y>350</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>420</x><y>490</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>163</x><y>269</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>336</x><y>270</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>590</x><y>350</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>480</x><y>490</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>493</x><y>270</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>30</x><y>640</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>40</x><y>900</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>180</x><y>900</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>160</x><y>808</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>60</x><y>808</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>34</x><y>549</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.Note</type><coordinates><x>420</x><y>640</y><w>330</w><h>140</h></coordinates><panel_attributes>Note.
bg=gray
What's new in this Stage is two things:
  1. Creating 40 (not just 1) LightGrayPanels.
  2. Clicking the mouse in the CYAN panel
      makes ALL 40 of the LIGHT_GRAY panels
      on the CYAN panel change color
      as if they had been clicked themselfves.</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Class</type><coordinates><x>261</x><y>600</y><w>130</w><h>30</h></coordinates><panel_attributes>/MouseListener/
bg=gray</panel_attributes><additional_attributes/></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>220</x><y>550</y><w>60</w><h>70</h></coordinates><panel_attributes>lt=&lt;&lt;.</panel_attributes><additional_attributes>40;50;20;20</additional_attributes></element></umlet_diagram>