diff --git a/.idea/$PRODUCT_WORKSPACE_FILE$ b/.idea/$PRODUCT_WORKSPACE_FILE$ new file mode 100644 index 0000000000000000000000000000000000000000..3733e0d369c0331583e53353e77299dc56783aab --- /dev/null +++ b/.idea/$PRODUCT_WORKSPACE_FILE$ @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="masterDetails"> + <states> + <state key="ProjectJDKs.UI"> + <settings> + <last-edited>1.8</last-edited> + <splitter-proportions> + <option name="proportions"> + <list> + <option value="0.2" /> + </list> + </option> + </splitter-proportions> + </settings> + </state> + </states> + </component> +</project> \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..5c98b428844d9f7d529e2b6fb918d15bf072f3df --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..e208459b8afde5f7980720efd6bbb97f7ae24541 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK"> + <output url="file://$PROJECT_DIR$/out" /> + </component> +</project> \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000000000000000000000000000000000000..1fe4435f739a457406c6c8482d6bbcec0854e0aa --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/infinitymonkeys.iml" filepath="$PROJECT_DIR$/infinitymonkeys.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000000000000000000000000000000000000..e96534fb27b68192f27f985d3879e173ec77adb8 --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="Palette2"> + <group name="Swing"> + <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> + </item> + <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> + </item> + <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> + <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> + <initial-values> + <property name="text" value="Button" /> + </initial-values> + </item> + <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="RadioButton" /> + </initial-values> + </item> + <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="CheckBox" /> + </initial-values> + </item> + <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="Label" /> + </initial-values> + </item> + <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> + <preferred-size width="200" height="200" /> + </default-constraints> + </item> + <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> + <preferred-size width="200" height="200" /> + </default-constraints> + </item> + <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> + </item> + <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> + <preferred-size width="-1" height="20" /> + </default-constraints> + </item> + <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> + </item> + <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> + </item> + </group> + </component> +</project> \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000000000000000000000000000000000..35eb1ddfbbc029bcab630581847471d7f238ec53 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="" vcs="Git" /> + </component> +</project> \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000000000000000000000000000000000000..861ae1eb9b02775f608eab3fe2853e8851be35c5 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,240 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ChangeListManager"> + <list default="true" id="688d774d-cfc7-4b0d-b00c-5ca931aba600" name="Default Changelist" comment=""> + <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/ApplicationMain$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/ApplicationMain$1.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/ApplicationMain.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/ApplicationMain.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/ChatScreen$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/ChatScreen$1.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/ChatScreen.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/ChatScreen.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/DrawingArea$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/DrawingArea$1.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/DrawingArea$Mode.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/DrawingArea$Mode.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/DrawingArea.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/DrawingArea.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/PaintGUI$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/PaintGUI$1.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/PaintGUI.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/PaintGUI.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/StartScreen$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/StartScreen$1.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/StartScreen.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/GUI/StartScreen.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/client/Client.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/client/Client.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/client/ClientUpdate$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/client/ClientUpdate$1.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/client/ClientUpdate.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/client/ClientUpdate.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/client/DrawingUpdate.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/client/DrawingUpdate.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/remote/IDrawingController.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/remote/IDrawingController.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/remote/IDrawingUpdate.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/remote/IDrawingUpdate.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/server/ChatController.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/server/ChatController.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/server/ClientController$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/server/ClientController$1.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/server/ClientController.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/server/ClientController.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/out/production/infinitymonkeys/server/DrawingController.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/infinitymonkeys/server/DrawingController.class" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/src/GUI/ApplicationMain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/GUI/ApplicationMain.java" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/src/GUI/StartScreen.form" beforeDir="false" afterPath="$PROJECT_DIR$/src/GUI/StartScreen.form" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/src/GUI/StartScreen.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/GUI/StartScreen.java" afterDir="false" /> + </list> + <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> + <option name="SHOW_DIALOG" value="false" /> + <option name="HIGHLIGHT_CONFLICTS" value="true" /> + <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> + <option name="LAST_RESOLUTION" value="IGNORE" /> + </component> + <component name="DefaultGradleProjectSettings"> + <option name="testRunner" value="GRADLE" /> + <option name="delegatedBuild" value="true" /> + </component> + <component name="FindInProjectRecents"> + <findStrings> + <find>RMI</find> + <find>Black</find> + <find>colorOptions</find> + <find>Send</find> + <find>message</find> + <find>userSelectComboBox</find> + <find>updateUserList</find> + <find>send</find> + <find>broadcastMessage</find> + <find>sent</find> + </findStrings> + </component> + <component name="Git.Settings"> + <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> + <option name="RECENT_BRANCH_BY_REPOSITORY"> + <map> + <entry key="$PROJECT_DIR$" value="master" /> + </map> + </option> + </component> + <component name="ProjectConfigurationFiles"> + <option name="files"> + <list> + <option value="$PROJECT_DIR$/.idea/uiDesigner.xml" /> + </list> + </option> + </component> + <component name="ProjectId" id="1SVgnDiSFxSanFbLYY5D9RJaXPS" /> + <component name="PropertiesComponent"> + <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> + <property name="UI_DESIGNER_EDITOR_MODE.UIDesignerToolWindowManager.WIDTH" value="387" /> + <property name="WebServerToolWindowFactoryState" value="false" /> + <property name="aspect.path.notification.shown" value="true" /> + <property name="last_opened_file_path" value="$PROJECT_DIR$/../Git Projects" /> + <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" /> + <property name="nodejs_npm_path_reset_for_default_project" value="true" /> + <property name="project.structure.last.edited" value="Project" /> + <property name="project.structure.proportion" value="0.15" /> + <property name="project.structure.side.proportion" value="0.2" /> + </component> + <component name="RunDashboard"> + <option name="ruleStates"> + <list> + <RuleState> + <option name="name" value="ConfigurationTypeDashboardGroupingRule" /> + </RuleState> + <RuleState> + <option name="name" value="StatusDashboardGroupingRule" /> + </RuleState> + </list> + </option> + </component> + <component name="RunManager" selected="Application.Client1"> + <configuration name="Client 3" type="Application" factoryName="Application"> + <option name="MAIN_CLASS_NAME" value="client.Client" /> + <module name="infinitymonkeys" /> + <option name="PROGRAM_PARAMETERS" value="Eldar -Djava.rmi.server.codebase=file:"G:\My Drive\UniMelb\2nd Semester\Distributed Systems\Assignment 2\Code\comp90015-dsass2-infinitymonkeys-remaster\out\production\comp90015-dsass2-infinitymonkeys-remaster"" /> + <method v="2"> + <option name="Make" enabled="true" /> + </method> + </configuration> + <configuration name="Client1" type="Application" factoryName="Application"> + <option name="MAIN_CLASS_NAME" value="client.Client" /> + <module name="infinitymonkeys" /> + <option name="PROGRAM_PARAMETERS" value="Max -Djava.rmi.server.codebase=file:"G:\My Drive\UniMelb\2nd Semester\Distributed Systems\Assignment 2\Code\comp90015-dsass2-infinitymonkeys-remaster\out\production\comp90015-dsass2-infinitymonkeys-remaster"" /> + <method v="2"> + <option name="Make" enabled="true" /> + </method> + </configuration> + <configuration name="Client2" type="Application" factoryName="Application"> + <option name="MAIN_CLASS_NAME" value="client.Client" /> + <module name="infinitymonkeys" /> + <option name="PROGRAM_PARAMETERS" value="Hai -Djava.rmi.server.codebase=file:"G:\My Drive\UniMelb\2nd Semester\Distributed Systems\Assignment 2\Code\comp90015-dsass2-infinitymonkeys-remaster\out\production\comp90015-dsass2-infinitymonkeys-remaster"" /> + <method v="2"> + <option name="Make" enabled="true" /> + </method> + </configuration> + <configuration name="Server" type="Application" factoryName="Application"> + <option name="MAIN_CLASS_NAME" value="server.Server" /> + <module name="infinitymonkeys" /> + <option name="PROGRAM_PARAMETERS" value="-Djava.rmi.server.codebase=file:"G:\My Drive\UniMelb\2nd Semester\Distributed Systems\Assignment 2\Code\comp90015-dsass2-infinitymonkeys-remaster\out\production\comp90015-dsass2-infinitymonkeys-remaster"" /> + <method v="2"> + <option name="Make" enabled="true" /> + </method> + </configuration> + <list> + <item itemvalue="Application.Server" /> + <item itemvalue="Application.Client1" /> + <item itemvalue="Application.Client2" /> + <item itemvalue="Application.Client 3" /> + </list> + </component> + <component name="SvnConfiguration"> + <configuration /> + </component> + <component name="TaskManager"> + <task active="true" id="Default" summary="Default task"> + <changelist id="688d774d-cfc7-4b0d-b00c-5ca931aba600" name="Default Changelist" comment="" /> + <created>1571631720382</created> + <option name="number" value="Default" /> + <option name="presentableId" value="Default" /> + <updated>1571631720382</updated> + <workItem from="1571631723795" duration="17601000" /> + <workItem from="1571654347656" duration="25114000" /> + <workItem from="1571786278739" duration="3319000" /> + </task> + <task id="LOCAL-00001" summary="Changed the join method to send over a reference of the ClientUpdate Interface"> + <created>1571646862883</created> + <option name="number" value="00001" /> + <option name="presentableId" value="LOCAL-00001" /> + <option name="project" value="LOCAL" /> + <updated>1571646862883</updated> + </task> + <option name="localTasksCounter" value="2" /> + <servers /> + </component> + <component name="TypeScriptGeneratedFilesManager"> + <option name="version" value="1" /> + </component> + <component name="Vcs.Log.History.Properties"> + <option name="COLUMN_ORDER"> + <list> + <option value="0" /> + <option value="2" /> + <option value="3" /> + <option value="1" /> + </list> + </option> + </component> + <component name="Vcs.Log.Tabs.Properties"> + <option name="TAB_STATES"> + <map> + <entry key="MAIN"> + <value> + <State> + <option name="COLUMN_ORDER" /> + </State> + </value> + </entry> + </map> + </option> + </component> + <component name="VcsManagerConfiguration"> + <MESSAGE value="Changed the join method to send over a reference of the ClientUpdate Interface" /> + <option name="LAST_COMMIT_MESSAGE" value="Changed the join method to send over a reference of the ClientUpdate Interface" /> + </component> + <component name="simpleUML.UMLToolWindowPlugin"> + <General> + <option name="birdViewUpdateDelay" value="2000" /> + <option name="defaultFileLocation" value="file://$PROJECT_DIR$/.." /> + </General> + <Classdiagram> + <option name="diagramTitleFont" value="SansSerif,1,12" /> + <option name="diagramFont" value="SansSerif,0,10" /> + <option name="defaultFieldsExpanded" value="false" /> + <option name="defaultContructorsExpanded" value="false" /> + <option name="defaultMethodsExpanded" value="false" /> + <option name="showParameters" value="true" /> + <option name="showTooltip" value="true" /> + <option name="showReturnValues" value="true" /> + <option name="longModifier" value="true" /> + <option name="implementsBehaviour" value="1" /> + <option name="extendsBehaviour" value="1" /> + <option name="compartmentBehaviour" value="1" /> + <option name="interfaceBackgroundColor" value="-6494306" /> + <option name="abstractClassBackgroundColor" value="-1580132" /> + <option name="classBackgroundColor" value="-6508057" /> + <option name="diagramBackgroundColor" value="-1" /> + <option name="useAntialiasedConnectors" value="true" /> + <option name="quickSourceLinkColor" value="-16776961" /> + <option name="quickDiagramLinkColor" value="-8454144" /> + <option name="drawDecorations" value="false" /> + <option name="hideFieldList" value="" /> + <option name="showFieldList" value="" /> + <option name="hideConstructorList" value="" /> + <option name="showConstructorList" value="" /> + <option name="hideMethodList" value="" /> + <option name="showMethodList" value="" /> + <option name="minimumFigureSize" value="0,0" /> + </Classdiagram> + <Dependencydiagram> + <option name="diagramTitleFont" value="SansSerif,1,12" /> + <option name="diagramFont" value="SansSerif,0,10" /> + <option name="diagramBackgroundColor" value="-1" /> + <option name="useAntialiasedConnectors" value="true" /> + <option name="packageNameCompressionLevel" value="0" /> + </Dependencydiagram> + <Packagediagram> + <option name="diagramTitleFont" value="SansSerif,0,12" /> + <option name="diagramFont" value="SansSerif,0,10" /> + <option name="packageBackgroundColor" value="-4144960" /> + <option name="diagramBackgroundColor" value="-1" /> + <option name="useAntialiasedConnectors" value="true" /> + <option name="packageNameCompressionLevel" value="2" /> + </Packagediagram> + </component> +</project> \ No newline at end of file diff --git a/comp90015-dsass2-infinitymonkeys-remaster.iml b/comp90015-dsass2-infinitymonkeys-remaster.iml new file mode 100644 index 0000000000000000000000000000000000000000..7152d058eeaf78185b07d439256d64bb8f90cd22 --- /dev/null +++ b/comp90015-dsass2-infinitymonkeys-remaster.iml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="JAVA_MODULE" version="4"> + <component name="FacetManager"> + <facet type="javaeeApplication" name="javaEEApplication"> + <configuration> + <descriptors> + <deploymentDescriptor name="application.xml" url="file://$MODULE_DIR$/META-INF/application.xml" /> + </descriptors> + </configuration> + </facet> + </component> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> +</module> \ No newline at end of file diff --git a/infinitymonkeys.iml b/infinitymonkeys.iml new file mode 100644 index 0000000000000000000000000000000000000000..7152d058eeaf78185b07d439256d64bb8f90cd22 --- /dev/null +++ b/infinitymonkeys.iml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="JAVA_MODULE" version="4"> + <component name="FacetManager"> + <facet type="javaeeApplication" name="javaEEApplication"> + <configuration> + <descriptors> + <deploymentDescriptor name="application.xml" url="file://$MODULE_DIR$/META-INF/application.xml" /> + </descriptors> + </configuration> + </facet> + </component> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> +</module> \ No newline at end of file diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ChatScreen$1.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ChatScreen$1.class new file mode 100644 index 0000000000000000000000000000000000000000..bf673f8ea6d84ed6e9fd40503c8a4767a75048d6 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ChatScreen$1.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ChatScreen.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ChatScreen.class new file mode 100644 index 0000000000000000000000000000000000000000..f4e30aaffc4a45f3d431149a0acbc881b95b8b2e Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ChatScreen.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ColorPallete.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ColorPallete.class new file mode 100644 index 0000000000000000000000000000000000000000..0795201c54134b35416d2e9bc194cb3e30720c7b Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ColorPallete.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea$1.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea$1.class new file mode 100644 index 0000000000000000000000000000000000000000..153fe6661e260df1c185996c6d8e8f84cc9d88a2 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea$1.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea$Mode.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea$Mode.class new file mode 100644 index 0000000000000000000000000000000000000000..300ae0e92370228635ee2d2eda3cef4cc4aadaae Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea$Mode.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea.class new file mode 100644 index 0000000000000000000000000000000000000000..e8789e03a5bde6470e969558471b15342c72b15e Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/DrawingArea.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/MenuBar.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/MenuBar.class new file mode 100644 index 0000000000000000000000000000000000000000..a24c9fc484961be8f3ca5d24268b42ed44163d5e Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/MenuBar.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/PaintGUI$1.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/PaintGUI$1.class new file mode 100644 index 0000000000000000000000000000000000000000..cc90a9c6246be3e81b09d9081b834ead1f6cc592 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/PaintGUI$1.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/PaintGUI.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/PaintGUI.class new file mode 100644 index 0000000000000000000000000000000000000000..592ac85cd5cd5ffa4ac44a16db9b3f65232a079d Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/PaintGUI.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/StartScreen$1.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/StartScreen$1.class new file mode 100644 index 0000000000000000000000000000000000000000..1a7d5b7bdb4598ed53bab3ee9d3b760ec703980b Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/StartScreen$1.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/StartScreen.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/StartScreen.class new file mode 100644 index 0000000000000000000000000000000000000000..88ef04241f6adbc213948d6042d7c6c09d930b94 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/StartScreen.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ToolBar.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ToolBar.class new file mode 100644 index 0000000000000000000000000000000000000000..a261bb8a4822e43418c1708eeb8e113b94739e4a Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/ToolBar.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/Tools.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/Tools.class new file mode 100644 index 0000000000000000000000000000000000000000..b27fffe3334a1604da267722f9a0490a7cd01d2a Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/GUI/Tools.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/LICENSE b/out/production/comp90015-dsass2-infinitymonkeys-remaster/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..ba0e33f6a054056eae2fdf79d3c4f4949e618044 --- /dev/null +++ b/out/production/comp90015-dsass2-infinitymonkeys-remaster/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/> + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + COMP90015-DSAss2-InfinityMonkeys-remaster + Copyright (C) 2019 Ho Dac Hai + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + {signature of Ty Coon}, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/META-INF/comp90015-dsass2-infinitymonkeys-remaster.kotlin_module b/out/production/comp90015-dsass2-infinitymonkeys-remaster/META-INF/comp90015-dsass2-infinitymonkeys-remaster.kotlin_module new file mode 100644 index 0000000000000000000000000000000000000000..2983af70661ad375cc499ebc4da5a68ca46c532e Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/META-INF/comp90015-dsass2-infinitymonkeys-remaster.kotlin_module differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/ChatUpdate.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/ChatUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..67a49f505beee840b3e57a9e85b034dd23bf2d8c Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/ChatUpdate.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/Client.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/Client.class new file mode 100644 index 0000000000000000000000000000000000000000..b380d66220f652cc9b22291acc8445552a61b404 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/Client.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/ClientUpdate.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/ClientUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..66a59d861a1a2a8d97c3926e948b2857958cdca6 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/ClientUpdate.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/DrawingUpdate.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/DrawingUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..a3b8302dd9e3252b1941eb2af93b54760ea2b35b Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/client/DrawingUpdate.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/AbstractLayout.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/AbstractLayout.class new file mode 100644 index 0000000000000000000000000000000000000000..474957aebac577dec666c736cb908114cec498ff Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/AbstractLayout.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/DimensionInfo.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/DimensionInfo.class new file mode 100644 index 0000000000000000000000000000000000000000..0db2f7d9973c83b302461f624d4983b90631ad48 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/DimensionInfo.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/GridConstraints.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/GridConstraints.class new file mode 100644 index 0000000000000000000000000000000000000000..2e1afccb4b72a19b98e4c55f81b48e6b43dc9e93 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/GridConstraints.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/GridLayoutManager.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/GridLayoutManager.class new file mode 100644 index 0000000000000000000000000000000000000000..94e3f4118dcbf9a9181b35188b2003311c2b587e Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/GridLayoutManager.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/HorizontalInfo.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/HorizontalInfo.class new file mode 100644 index 0000000000000000000000000000000000000000..bdc1fe3e6f75eb653a1eaf739ff5a55fd296bee9 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/HorizontalInfo.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/LayoutState.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/LayoutState.class new file mode 100644 index 0000000000000000000000000000000000000000..61494dfee4228a07f5a011e1cb7b1e6d9357810a Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/LayoutState.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/Spacer.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/Spacer.class new file mode 100644 index 0000000000000000000000000000000000000000..e5348809c769b85ecd7f59e29933beefa569d8fb Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/Spacer.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class new file mode 100644 index 0000000000000000000000000000000000000000..67909c5fb0122351434c01857cd99ad1d771cee3 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/SupportCode.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/SupportCode.class new file mode 100644 index 0000000000000000000000000000000000000000..4950c35c1362ec6ee6346c56fefa830498990c09 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/SupportCode.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/Util.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/Util.class new file mode 100644 index 0000000000000000000000000000000000000000..4866582c1e72f444a3ed4dcdb83c269e3a821ca0 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/Util.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/VerticalInfo.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/VerticalInfo.class new file mode 100644 index 0000000000000000000000000000000000000000..049e7022ec7e9bc69bae7d04eb657f2b4cc3ef33 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/com/intellij/uiDesigner/core/VerticalInfo.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IChatController.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IChatController.class new file mode 100644 index 0000000000000000000000000000000000000000..53c3ebdbeb067f1865fe93a3e90ce8ef69e59d0b Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IChatController.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IChatUpdate.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IChatUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..f84138bb8bf132eae71b572e7f8c37323da8ae93 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IChatUpdate.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IClientController.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IClientController.class new file mode 100644 index 0000000000000000000000000000000000000000..a715a7529d155693afd32a10c6d499fbc792097a Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IClientController.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IClientUpdate.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IClientUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..594d29d42b0c49bf0496f846c0945c7ceaeacf33 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IClientUpdate.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IDrawingController.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IDrawingController.class new file mode 100644 index 0000000000000000000000000000000000000000..77e8bd2728f2914be430a512c07dfd1396cf82db Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IDrawingController.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IDrawingUpdate.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IDrawingUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..e988f5b56317e1471a72d9c155b99fb2765377fd Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/remote/IDrawingUpdate.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/ChatController.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/ChatController.class new file mode 100644 index 0000000000000000000000000000000000000000..b56eaad1cdbc2c794f9ab2a79109a88eb63fa3fb Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/ChatController.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/ClientController.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/ClientController.class new file mode 100644 index 0000000000000000000000000000000000000000..f8f9cc0ee6a843d9f3771bc2c10ace5c357cb13d Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/ClientController.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/DrawingController.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/DrawingController.class new file mode 100644 index 0000000000000000000000000000000000000000..54810ef813fa516a548036a63fa70a7be2a0c5c5 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/DrawingController.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/Server.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/Server.class new file mode 100644 index 0000000000000000000000000000000000000000..0c1967b8f8157aa219773025b224455fa21cf3ef Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/Server.class differ diff --git a/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/User.class b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/User.class new file mode 100644 index 0000000000000000000000000000000000000000..bb1cfcbe52b605032645164945747218b2160ba8 Binary files /dev/null and b/out/production/comp90015-dsass2-infinitymonkeys-remaster/server/User.class differ diff --git a/out/production/infinitymonkeys/GUI/ApplicationMain$1.class b/out/production/infinitymonkeys/GUI/ApplicationMain$1.class new file mode 100644 index 0000000000000000000000000000000000000000..11cceb78224800b744c0dab89125b3f7a56eb3dc Binary files /dev/null and b/out/production/infinitymonkeys/GUI/ApplicationMain$1.class differ diff --git a/out/production/infinitymonkeys/GUI/ApplicationMain.class b/out/production/infinitymonkeys/GUI/ApplicationMain.class new file mode 100644 index 0000000000000000000000000000000000000000..b08b1f8e1a585cb7a899a88fce6172d18c6e1283 Binary files /dev/null and b/out/production/infinitymonkeys/GUI/ApplicationMain.class differ diff --git a/out/production/infinitymonkeys/GUI/ChatScreen$1.class b/out/production/infinitymonkeys/GUI/ChatScreen$1.class new file mode 100644 index 0000000000000000000000000000000000000000..22f18c553c1c6ac1133f3aeb7189bf14e9f9d15d Binary files /dev/null and b/out/production/infinitymonkeys/GUI/ChatScreen$1.class differ diff --git a/out/production/infinitymonkeys/GUI/ChatScreen.class b/out/production/infinitymonkeys/GUI/ChatScreen.class new file mode 100644 index 0000000000000000000000000000000000000000..675758f83227a469c5fc3b3b3d0f714c286b9eab Binary files /dev/null and b/out/production/infinitymonkeys/GUI/ChatScreen.class differ diff --git a/out/production/infinitymonkeys/GUI/ColorPallete.class b/out/production/infinitymonkeys/GUI/ColorPallete.class new file mode 100644 index 0000000000000000000000000000000000000000..0795201c54134b35416d2e9bc194cb3e30720c7b Binary files /dev/null and b/out/production/infinitymonkeys/GUI/ColorPallete.class differ diff --git a/out/production/infinitymonkeys/GUI/DrawingArea$1.class b/out/production/infinitymonkeys/GUI/DrawingArea$1.class new file mode 100644 index 0000000000000000000000000000000000000000..8d0767f47053ee7e77165cda1ad6b206255bccea Binary files /dev/null and b/out/production/infinitymonkeys/GUI/DrawingArea$1.class differ diff --git a/out/production/infinitymonkeys/GUI/DrawingArea$Mode.class b/out/production/infinitymonkeys/GUI/DrawingArea$Mode.class new file mode 100644 index 0000000000000000000000000000000000000000..0dfea6014533d4b2402a663f95c2c029f41e7e9e Binary files /dev/null and b/out/production/infinitymonkeys/GUI/DrawingArea$Mode.class differ diff --git a/out/production/infinitymonkeys/GUI/DrawingArea.class b/out/production/infinitymonkeys/GUI/DrawingArea.class new file mode 100644 index 0000000000000000000000000000000000000000..dea5162edd17755dbf52607a9512faa02522e26a Binary files /dev/null and b/out/production/infinitymonkeys/GUI/DrawingArea.class differ diff --git a/out/production/infinitymonkeys/GUI/MenuBar.class b/out/production/infinitymonkeys/GUI/MenuBar.class new file mode 100644 index 0000000000000000000000000000000000000000..a24c9fc484961be8f3ca5d24268b42ed44163d5e Binary files /dev/null and b/out/production/infinitymonkeys/GUI/MenuBar.class differ diff --git a/out/production/infinitymonkeys/GUI/PaintGUI$1.class b/out/production/infinitymonkeys/GUI/PaintGUI$1.class new file mode 100644 index 0000000000000000000000000000000000000000..96e215a04f61c099d09838995f7e359e972fec38 Binary files /dev/null and b/out/production/infinitymonkeys/GUI/PaintGUI$1.class differ diff --git a/out/production/infinitymonkeys/GUI/PaintGUI.class b/out/production/infinitymonkeys/GUI/PaintGUI.class new file mode 100644 index 0000000000000000000000000000000000000000..88ded32f579c6224edff986c1983774aca5d876f Binary files /dev/null and b/out/production/infinitymonkeys/GUI/PaintGUI.class differ diff --git a/out/production/infinitymonkeys/GUI/StartScreen$1.class b/out/production/infinitymonkeys/GUI/StartScreen$1.class new file mode 100644 index 0000000000000000000000000000000000000000..fe73d4e2d50930d8a12d46e1e6e140474f708ea2 Binary files /dev/null and b/out/production/infinitymonkeys/GUI/StartScreen$1.class differ diff --git a/out/production/infinitymonkeys/GUI/StartScreen.class b/out/production/infinitymonkeys/GUI/StartScreen.class new file mode 100644 index 0000000000000000000000000000000000000000..1188a7bfa851afce8d49cfb13966159d00c86633 Binary files /dev/null and b/out/production/infinitymonkeys/GUI/StartScreen.class differ diff --git a/out/production/infinitymonkeys/GUI/ToolBar.class b/out/production/infinitymonkeys/GUI/ToolBar.class new file mode 100644 index 0000000000000000000000000000000000000000..a261bb8a4822e43418c1708eeb8e113b94739e4a Binary files /dev/null and b/out/production/infinitymonkeys/GUI/ToolBar.class differ diff --git a/out/production/infinitymonkeys/GUI/Tools.class b/out/production/infinitymonkeys/GUI/Tools.class new file mode 100644 index 0000000000000000000000000000000000000000..b27fffe3334a1604da267722f9a0490a7cd01d2a Binary files /dev/null and b/out/production/infinitymonkeys/GUI/Tools.class differ diff --git a/out/production/infinitymonkeys/LICENSE b/out/production/infinitymonkeys/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..ba0e33f6a054056eae2fdf79d3c4f4949e618044 --- /dev/null +++ b/out/production/infinitymonkeys/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/> + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + COMP90015-DSAss2-InfinityMonkeys-remaster + Copyright (C) 2019 Ho Dac Hai + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + {signature of Ty Coon}, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/out/production/infinitymonkeys/META-INF/infinitymonkeys.kotlin_module b/out/production/infinitymonkeys/META-INF/infinitymonkeys.kotlin_module new file mode 100644 index 0000000000000000000000000000000000000000..8fb60192d378759239a3ecbf60eac8c8de446e9c Binary files /dev/null and b/out/production/infinitymonkeys/META-INF/infinitymonkeys.kotlin_module differ diff --git a/out/production/infinitymonkeys/client/ChatUpdate.class b/out/production/infinitymonkeys/client/ChatUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..bc8354438e73505c3b27ae6f6e02e6fdfd4c4a2d Binary files /dev/null and b/out/production/infinitymonkeys/client/ChatUpdate.class differ diff --git a/out/production/infinitymonkeys/client/Client.class b/out/production/infinitymonkeys/client/Client.class new file mode 100644 index 0000000000000000000000000000000000000000..f4d0697ec65644133ca160285ecf365130475589 Binary files /dev/null and b/out/production/infinitymonkeys/client/Client.class differ diff --git a/out/production/infinitymonkeys/client/ClientUpdate$1.class b/out/production/infinitymonkeys/client/ClientUpdate$1.class new file mode 100644 index 0000000000000000000000000000000000000000..a6557db01c39906b9407183cbe45f7985e6f27e8 Binary files /dev/null and b/out/production/infinitymonkeys/client/ClientUpdate$1.class differ diff --git a/out/production/infinitymonkeys/client/ClientUpdate.class b/out/production/infinitymonkeys/client/ClientUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..8e2cefd33df97034b4f7915642756b775c22898c Binary files /dev/null and b/out/production/infinitymonkeys/client/ClientUpdate.class differ diff --git a/out/production/infinitymonkeys/client/DrawingUpdate.class b/out/production/infinitymonkeys/client/DrawingUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..df881705ca5c05e240dfd409ec2c021575fafe37 Binary files /dev/null and b/out/production/infinitymonkeys/client/DrawingUpdate.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/AbstractLayout.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/AbstractLayout.class new file mode 100644 index 0000000000000000000000000000000000000000..474957aebac577dec666c736cb908114cec498ff Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/AbstractLayout.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/DimensionInfo.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/DimensionInfo.class new file mode 100644 index 0000000000000000000000000000000000000000..0db2f7d9973c83b302461f624d4983b90631ad48 Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/DimensionInfo.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/GridConstraints.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/GridConstraints.class new file mode 100644 index 0000000000000000000000000000000000000000..2e1afccb4b72a19b98e4c55f81b48e6b43dc9e93 Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/GridConstraints.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/GridLayoutManager.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/GridLayoutManager.class new file mode 100644 index 0000000000000000000000000000000000000000..94e3f4118dcbf9a9181b35188b2003311c2b587e Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/GridLayoutManager.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/HorizontalInfo.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/HorizontalInfo.class new file mode 100644 index 0000000000000000000000000000000000000000..bdc1fe3e6f75eb653a1eaf739ff5a55fd296bee9 Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/HorizontalInfo.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/LayoutState.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/LayoutState.class new file mode 100644 index 0000000000000000000000000000000000000000..61494dfee4228a07f5a011e1cb7b1e6d9357810a Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/LayoutState.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/Spacer.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/Spacer.class new file mode 100644 index 0000000000000000000000000000000000000000..e5348809c769b85ecd7f59e29933beefa569d8fb Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/Spacer.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class new file mode 100644 index 0000000000000000000000000000000000000000..67909c5fb0122351434c01857cd99ad1d771cee3 Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/SupportCode.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/SupportCode.class new file mode 100644 index 0000000000000000000000000000000000000000..4950c35c1362ec6ee6346c56fefa830498990c09 Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/SupportCode.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/Util.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/Util.class new file mode 100644 index 0000000000000000000000000000000000000000..4866582c1e72f444a3ed4dcdb83c269e3a821ca0 Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/Util.class differ diff --git a/out/production/infinitymonkeys/com/intellij/uiDesigner/core/VerticalInfo.class b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/VerticalInfo.class new file mode 100644 index 0000000000000000000000000000000000000000..049e7022ec7e9bc69bae7d04eb657f2b4cc3ef33 Binary files /dev/null and b/out/production/infinitymonkeys/com/intellij/uiDesigner/core/VerticalInfo.class differ diff --git a/out/production/infinitymonkeys/remote/IChatController.class b/out/production/infinitymonkeys/remote/IChatController.class new file mode 100644 index 0000000000000000000000000000000000000000..53c3ebdbeb067f1865fe93a3e90ce8ef69e59d0b Binary files /dev/null and b/out/production/infinitymonkeys/remote/IChatController.class differ diff --git a/out/production/infinitymonkeys/remote/IChatUpdate.class b/out/production/infinitymonkeys/remote/IChatUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..f84138bb8bf132eae71b572e7f8c37323da8ae93 Binary files /dev/null and b/out/production/infinitymonkeys/remote/IChatUpdate.class differ diff --git a/out/production/infinitymonkeys/remote/IClientController$Action.class b/out/production/infinitymonkeys/remote/IClientController$Action.class new file mode 100644 index 0000000000000000000000000000000000000000..035ddf1381adff501a6e806d89ed427882488ad0 Binary files /dev/null and b/out/production/infinitymonkeys/remote/IClientController$Action.class differ diff --git a/out/production/infinitymonkeys/remote/IClientController.class b/out/production/infinitymonkeys/remote/IClientController.class new file mode 100644 index 0000000000000000000000000000000000000000..d438a291276cb8f60071c2bb1916a305991156c4 Binary files /dev/null and b/out/production/infinitymonkeys/remote/IClientController.class differ diff --git a/out/production/infinitymonkeys/remote/IClientUpdate$Action.class b/out/production/infinitymonkeys/remote/IClientUpdate$Action.class new file mode 100644 index 0000000000000000000000000000000000000000..e8c67716e8ad38b3061fe7b87f09a74c4e8dc8a5 Binary files /dev/null and b/out/production/infinitymonkeys/remote/IClientUpdate$Action.class differ diff --git a/out/production/infinitymonkeys/remote/IClientUpdate.class b/out/production/infinitymonkeys/remote/IClientUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..7d8923621a39f42b6628c674a2a110f8b54dd03d Binary files /dev/null and b/out/production/infinitymonkeys/remote/IClientUpdate.class differ diff --git a/out/production/infinitymonkeys/remote/IDrawingController.class b/out/production/infinitymonkeys/remote/IDrawingController.class new file mode 100644 index 0000000000000000000000000000000000000000..4ee26d4196eeb7419ffb011e43e6374bd5eec4c0 Binary files /dev/null and b/out/production/infinitymonkeys/remote/IDrawingController.class differ diff --git a/out/production/infinitymonkeys/remote/IDrawingUpdate.class b/out/production/infinitymonkeys/remote/IDrawingUpdate.class new file mode 100644 index 0000000000000000000000000000000000000000..f41f9a05a74d875caa31672fc6b33ccbc09bbf1a Binary files /dev/null and b/out/production/infinitymonkeys/remote/IDrawingUpdate.class differ diff --git a/out/production/infinitymonkeys/server/ChatController.class b/out/production/infinitymonkeys/server/ChatController.class new file mode 100644 index 0000000000000000000000000000000000000000..1df05bb664aee8674eb208da4de206b6df3bad0d Binary files /dev/null and b/out/production/infinitymonkeys/server/ChatController.class differ diff --git a/out/production/infinitymonkeys/server/ClientController$1.class b/out/production/infinitymonkeys/server/ClientController$1.class new file mode 100644 index 0000000000000000000000000000000000000000..bad43cb0d3d2f3d5df39f5772609ead65f352bde Binary files /dev/null and b/out/production/infinitymonkeys/server/ClientController$1.class differ diff --git a/out/production/infinitymonkeys/server/ClientController.class b/out/production/infinitymonkeys/server/ClientController.class new file mode 100644 index 0000000000000000000000000000000000000000..9b3a65bdc428d61632fca4ce5ff30a4697ff1170 Binary files /dev/null and b/out/production/infinitymonkeys/server/ClientController.class differ diff --git a/out/production/infinitymonkeys/server/DrawingController.class b/out/production/infinitymonkeys/server/DrawingController.class new file mode 100644 index 0000000000000000000000000000000000000000..00fe8a78bb29e4f2193e8164d2e79f8e19c0b051 Binary files /dev/null and b/out/production/infinitymonkeys/server/DrawingController.class differ diff --git a/out/production/infinitymonkeys/server/Server.class b/out/production/infinitymonkeys/server/Server.class new file mode 100644 index 0000000000000000000000000000000000000000..0c1967b8f8157aa219773025b224455fa21cf3ef Binary files /dev/null and b/out/production/infinitymonkeys/server/Server.class differ diff --git a/out/production/infinitymonkeys/server/User.class b/out/production/infinitymonkeys/server/User.class new file mode 100644 index 0000000000000000000000000000000000000000..bb1cfcbe52b605032645164945747218b2160ba8 Binary files /dev/null and b/out/production/infinitymonkeys/server/User.class differ diff --git a/src.zip b/src.zip new file mode 100644 index 0000000000000000000000000000000000000000..d037531c7c7e5a2934c2e6521fdab3171a018182 Binary files /dev/null and b/src.zip differ diff --git a/src/GUI/ApplicationMain.java b/src/GUI/ApplicationMain.java index 25d25f4238c061bc82cd416b2254a65cd33b5c88..020e67b3793de9e099a4bcd5c528c476bd48820d 100644 --- a/src/GUI/ApplicationMain.java +++ b/src/GUI/ApplicationMain.java @@ -108,6 +108,7 @@ public class ApplicationMain extends JPanel { frame.setResizable(false); frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); frame.pack(); + frame.setLocationRelativeTo(null); frame.setVisible(true); } } diff --git a/src/server/DrawingController.java b/src/server/DrawingController.java index 934d8926cfd0159b8fb32d1c8f464cb04381dc2a..00d42fc5e09937a1e7d587f062ad4e7221218754 100644 --- a/src/server/DrawingController.java +++ b/src/server/DrawingController.java @@ -3,7 +3,6 @@ package server; import remote.IDrawingController; import remote.IDrawingUpdate; -import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.*; @@ -36,6 +35,7 @@ public class DrawingController extends UnicastRemoteObject implements IDrawingCo g2 = (Graphics2D) bufferedImage.getGraphics(); g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2.setFont(font); +// g2.setPaint(Color.BLACK); g2.drawString(text, startPoint.x, startPoint.y); g2 = (Graphics2D) bufferedImage.getGraphics(); g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);