Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
602 changes: 602 additions & 0 deletions .metadata/.log

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.classpathVariable.JRE_LIB=/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home/lib/jrt-fs.jar
org.eclipse.jdt.core.classpathVariable.JRE_SRC=/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home/lib/src.zip
org.eclipse.jdt.core.classpathVariable.JRE_SRCROOT=
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=18
org.eclipse.jdt.core.compiler.compliance=18
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=18
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<vmSettings defaultVM\="52,org.eclipse.jdt.internal.launching.macosx.MacOSXType19,com.oracle.java.jdk" defaultVMConnector\="">\n <vmType id\="org.eclipse.jdt.internal.launching.macosx.MacOSXType">\n <vm id\="com.oracle.java.jdk" name\="Java SE 19.0.2 [19.0.2]" path\="/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home"/>\n </vmType>\n</vmSettings>\n
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
eclipse.preferences.version=1
platformState=1699425430033
platformState=1675950682856
quickStart=false
tipsAndTricks=true
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR=16,16,16
org.eclipse.ui.workbench.ACTIVE_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=242,242,242
org.eclipse.ui.workbench.ACTIVE_TAB_BG_START=230,230,230
org.eclipse.ui.workbench.INACTIVE_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=240,240,240
813 changes: 447 additions & 366 deletions .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

Large diffs are not rendered by default.

Binary file modified .metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
Binary file not shown.
5 changes: 5 additions & 0 deletions .metadata/.plugins/org.eclipse.jdt.launching/.install.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dirs>
<entry loc="/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home" stamp="1676374884668"/>
<entry loc="/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home" stamp="1678248702116"/>
</dirs>
5 changes: 5 additions & 0 deletions .metadata/.plugins/org.eclipse.jdt.launching/libraryInfos.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<libraryInfos>
<libraryInfo home="/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home" version="19.0.2"/>
<libraryInfo home="/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home" version="17.0.6"/>
</libraryInfos>
2 changes: 1 addition & 1 deletion .metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<item key="layout" value="2"/>
<item key="rootMode" value="1"/>
<item key="linkWithEditor" value="false"/>
<item key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;Aggregate for window 1699427270262&quot;&gt;&#x0D;&#x0A;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;&gt;&#x0D;&#x0A;&lt;xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.buildfolder&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.mylyn.java.ui.MembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.m2e.MavenModuleFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.subProject&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.DeprecatedMembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;/xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;/customFilters&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;"/>
<item key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0A;&lt;packageExplorer group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;Aggregate for window 1699427270262&quot;&gt;&#x0A;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;&gt;&#x0A;&lt;xmlDefinedFilters&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.buildfolder&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.m2e.MavenModuleFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.subProject&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.DeprecatedMembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0A;&lt;/xmlDefinedFilters&gt;&#x0A;&lt;/customFilters&gt;&#x0A;&lt;/packageExplorer&gt;"/>
</section>
</section>
1 change: 1 addition & 0 deletions .metadata/.plugins/org.eclipse.m2e.logback/0.log
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
2023-11-08 16:07:51,972 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
2023-11-09 11:24:02,276 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<configuration scan="true">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>OFF</level> <!-- change to DEBUG to mimic '-consolelog' behaviour -->
</filter>
</appender>

<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>${org.eclipse.m2e.log.dir}/0.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
<MinIndex>1</MinIndex>
<MaxIndex>10</MaxIndex>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>10MB</MaxFileSize>
</triggeringPolicy>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
</appender>

<appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>WARN</level>
</filter>
</appender>

<appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
</appender>

<root level="INFO">
<appender-ref ref="FILE" />
<appender-ref ref="STDOUT" />
<appender-ref ref="EclipseLog" />
<appender-ref ref="MavenConsoleLog" />
</root>
</configuration>
1 change: 1 addition & 0 deletions .metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<item key="WizardProjectsImportPage.STORE_CLOSE_CREATED_PROJECTS_ID" value="false"/>
<item key="WizardProjectsImportPage.STORE_HIDE_CONFLICTING_PROJECTS_ID" value="false"/>
<list key="WizardProjectsImportPage.STORE_DIRECTORIES">
<item value="/Users/ihan-eul/Desktop/comp2/2023comp2"/>
<item value="C:\Users\이찬우\Desktop\comproject\2023comp2"/>
</list>
<list key="WizardProjectsImportPage.STORE_ARCHIVES">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
<section name="Workbench">
<section name="ImportExportAction">
</section>
<section name="FileSystemImportWizard">
</section>
</section>
4 changes: 2 additions & 2 deletions .metadata/version.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Wed Nov 08 16:07:45 KST 2023
#Thu Nov 09 11:24:00 KST 2023
org.eclipse.core.runtime=2
org.eclipse.platform=4.29.0.v20230903-1000
org.eclipse.platform=4.26.0.v20221123-1800
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 2023comp2
github에 오신 것을 환영합니다.
1.git 로컬에 설치 후 기본 셋팅
2.fork하여 코드를 자신의 github로 옮긴다.
3.git clone 명령어를 통해 자신의 로컬로 가져온다. 이 때 명령어가 실행되는 파일 위치를 기준으로 파일이 내려오게된다.
4.내려온 파일 위치로 들어간다 cd 저장 디렉토리 위치
5.git init 명령어 실행
6.git checkout -b 자기 브렌치 이름
7.git add . : 현재 디렉토리의 모든 파일을 나의 로컬 git 저장소에 저장한다.
8.git commit -m "메세지" : add된 파일들에 설명 메세지를 입력한다.
9.git push : 나의 github로 수정된 파일을 올린다.
10.협업 github로 pull request를 보낸다.
\n1.git 로컬에 설치 후 기본 셋팅
\n2.fork하여 코드를 자신의 github로 옮긴다.
\n3.git clone 명령어를 통해 자신의 로컬로 가져온다. 이 때 명령어가 실행되는 파일 위치를 기준으로 파일이 내려오게된다.
\n4.내려온 파일 위치로 들어간다 cd 저장 디렉토리 위치
\n5.git init 명령어 실행
\n6.git checkout -b 자기 브렌치 이름
\n7.git add . : 현재 디렉토리의 모든 파일을 나의 로컬 git 저장소에 저장한다.
\n8.git commit -m "메세지" : add된 파일들에 설명 메세지를 입력한다.
\n9.git push : 나의 github로 수정된 파일을 올린다.
\n10.협업 github로 pull request를 보낸다.
3 changes: 0 additions & 3 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
/Dreen/
/Haneul/
/Junhwan/
/Junsang/
Binary file added bin/Data/UserInfo.class
Binary file not shown.
Binary file removed bin/Dreen/dreentest.class
Binary file not shown.
26 changes: 26 additions & 0 deletions bin/Guide
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
구현할 기능 목록
#Data
-UserInfo : 유저 정보를 담고있는 부분
-UserCalendar : 유저들의 일정 정보를 가지고 있는 부분

#View
-CalendarFrame : 기본 CalendarFrame
-MakeIdFrame : 회원가입을 진행하는 Frame
-AddScheduleFrame : 스케쥴을 추가할 떄 나타나는 Frame


#Model
-CalanderMaker : CalendarFrame을 Calendar로부터 정보를 받아서 gui를 구현
-Schedule : 만들어진 CalendarFrame의 정보에 일정을 추가하고 삭제하는 부분 UserCalendar와 소통
-DataBus : UserCalendar에 있는 정보를 txt파일로 저장
-main : mvc를 종합

1.Start에서 CalendarMaker객체 생성
2. CalendarMaker는 CalendarFrame(Localdate.now)이 기존의 메모장 파일을 가져다가 수정하기
DatePanel 연 월 정보
6행 7열의 CalendarPanel 필요 -> 입력받은 Localdate정보를 가지고 button 생성후 넣기
어떠한 클릭 발생시 그 일정의 textfiled에 접근 가능
버튼정보 textfield1개
내가 추가하는 정보 textfield1개
3.textfield에 정보가 추가되면 새로운 일정이 되어서 data에 저장
4. data에 저장되면 databus를 통해 입력 값 저장
Binary file removed bin/Haneul/haneultest.class
Binary file not shown.
Binary file removed bin/Junhwan/Test.class
Binary file not shown.
Binary file removed bin/Junsang/junsangtest.class
Binary file not shown.
Binary file added bin/Start/Start.class
Binary file not shown.
Binary file added bin/Util/DataBus.class
Binary file not shown.
Binary file added bin/View/AddEventFrame.class
Binary file not shown.
Binary file added bin/View/DayButton.class
Binary file not shown.
Binary file added bin/View/MainCalendar$1.class
Binary file not shown.
Binary file added bin/View/MainCalendar$2.class
Binary file not shown.
Binary file added bin/View/MainCalendar$3.class
Binary file not shown.
Binary file added bin/View/MainCalendar.class
Binary file not shown.
11 changes: 11 additions & 0 deletions src/Data/UserInfo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package Data;


public class UserInfo {

public String StringData;
public int Year;
public int Month;
public int Day;

}
5 changes: 0 additions & 5 deletions src/Dreen/dreentest.java

This file was deleted.

26 changes: 26 additions & 0 deletions src/Guide
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
구현할 기능 목록
#Data
-UserInfo : 유저 정보를 담고있는 부분
-UserCalendar : 유저들의 일정 정보를 가지고 있는 부분

#View
-CalendarFrame : 기본 CalendarFrame
-MakeIdFrame : 회원가입을 진행하는 Frame
-AddScheduleFrame : 스케쥴을 추가할 떄 나타나는 Frame


#Model
-CalanderMaker : CalendarFrame을 Calendar로부터 정보를 받아서 gui를 구현
-Schedule : 만들어진 CalendarFrame의 정보에 일정을 추가하고 삭제하는 부분 UserCalendar와 소통
-DataBus : UserCalendar에 있는 정보를 txt파일로 저장
-main : mvc를 종합

1.Start에서 CalendarMaker객체 생성
2. CalendarMaker는 CalendarFrame(Localdate.now)이 기존의 메모장 파일을 가져다가 수정하기
DatePanel 연 월 정보
6행 7열의 CalendarPanel 필요 -> 입력받은 Localdate정보를 가지고 button 생성후 넣기
어떠한 클릭 발생시 그 일정의 textfiled에 접근 가능
버튼정보 textfield1개
내가 추가하는 정보 textfield1개
3.textfield에 정보가 추가되면 새로운 일정이 되어서 data에 저장
4. data에 저장되면 databus를 통해 입력 값 저장
5 changes: 0 additions & 5 deletions src/Haneul/haneultest.java

This file was deleted.

13 changes: 0 additions & 13 deletions src/Junhwan/Test.java

This file was deleted.

5 changes: 0 additions & 5 deletions src/Junsang/junsangtest.java

This file was deleted.

22 changes: 22 additions & 0 deletions src/Start/Start.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package Start;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;

import View.MainCalendar;

public class Start {

public static void main(String[] args) {
SwingUtilities.invokeLater(() -> {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {
e.printStackTrace();
}
new MainCalendar();
});

}

}
5 changes: 5 additions & 0 deletions src/Util/DataBus.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package Util;

public class DataBus {

}
36 changes: 36 additions & 0 deletions src/View/AddEventFrame.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
package View;

import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTextArea;
import javax.swing.JTextField;

public class AddEventFrame extends JFrame {
private JTextArea ta;
private JTextField tf;
private JButton addbutton;
public AddEventFrame(DayButton b) {
String s = b.DayInfo.StringData;
setTitle(b.DayInfo.Year+"년 "+b.DayInfo.Month+"월"+b.DayInfo.Day+"일");
setLayout(new GridLayout(3,0));
ta = new JTextArea(20,20);
tf = new JTextField();
ta.setText(s);
setSize(400,300);
addbutton = new JButton("add");
add(tf);
add(ta);
addbutton.addActionListener(e ->{
String text =tf.getText();
ta.append (text + "\n");
tf.selectAll();
b.DayInfo.StringData = ta.getText();


});
add(addbutton);
setVisible(true);
}
}
10 changes: 10 additions & 0 deletions src/View/DayButton.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package View;
import javax.swing.JButton;
import Data.UserInfo;

public class DayButton extends JButton {
public UserInfo DayInfo;
public DayButton(String text) {
super(text);
}
}
Loading