From f78fc8c894340c8281fc5d4a0d1b79e2048b7c2b Mon Sep 17 00:00:00 2001 From: chehaoc <chehao.chang@student.unimelb.edu.au> Date: Sat, 19 Oct 2019 13:15:54 +1100 Subject: [PATCH] restructure file folder --- comp90015_assignment2.iml | 11 +++++++++++ LICENSE => src/LICENSE | 0 DrawingArea.java => src/client/DrawingArea.java | 2 ++ PaintGUI.java => src/client/PaintGUI.java | 2 ++ 4 files changed, 15 insertions(+) create mode 100644 comp90015_assignment2.iml rename LICENSE => src/LICENSE (100%) rename DrawingArea.java => src/client/DrawingArea.java (99%) rename PaintGUI.java => src/client/PaintGUI.java (99%) diff --git a/comp90015_assignment2.iml b/comp90015_assignment2.iml new file mode 100644 index 0000000..c90834f --- /dev/null +++ b/comp90015_assignment2.iml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="JAVA_MODULE" version="4"> + <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/LICENSE b/src/LICENSE similarity index 100% rename from LICENSE rename to src/LICENSE diff --git a/DrawingArea.java b/src/client/DrawingArea.java similarity index 99% rename from DrawingArea.java rename to src/client/DrawingArea.java index 0c2c1dc..4bd67e6 100644 --- a/DrawingArea.java +++ b/src/client/DrawingArea.java @@ -1,3 +1,5 @@ +package client; + import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; diff --git a/PaintGUI.java b/src/client/PaintGUI.java similarity index 99% rename from PaintGUI.java rename to src/client/PaintGUI.java index df27b3b..02ea1bc 100644 --- a/PaintGUI.java +++ b/src/client/PaintGUI.java @@ -1,3 +1,5 @@ +package client; + import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; -- GitLab