diff --git a/.classpath b/.classpath index 21978948803ca839b6b2778a4f478211edc5a4f1..ba1d5dae5e61b0b60dff40843179431e9a4dd94a 100644 --- a/.classpath +++ b/.classpath @@ -6,5 +6,6 @@ + diff --git a/.metadata/.lock b/.metadata/.lock new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/.metadata/.log b/.metadata/.log new file mode 100644 index 0000000000000000000000000000000000000000..15cdd93ca70952aacf5c196bb2bfa58fe989b98b --- /dev/null +++ b/.metadata/.log @@ -0,0 +1,41 @@ +!SESSION 2021-05-30 17:37:37.778 ----------------------------------------------- +eclipse.buildId=4.14.0.I20191210-0610 +java.version=14.0.1 +java.vendor=Oracle Corporation +BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN +Framework arguments: -product org.eclipse.epp.package.jee.product +Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product + +!ENTRY org.eclipse.egit.ui 2 0 2021-05-30 17:38:15.006 +!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git +user global configuration and to define the default location to store repositories: 'C:\Users\86151'. If this is +not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and +EGit might behave differently since they see different configuration options. +This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. +!SESSION 2021-06-09 21:22:01.931 ----------------------------------------------- +eclipse.buildId=4.14.0.I20191210-0610 +java.version=14.0.1 +java.vendor=Oracle Corporation +BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN +Framework arguments: -product org.eclipse.epp.package.jee.product +Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product + +!ENTRY org.eclipse.egit.ui 2 0 2021-06-09 21:22:29.037 +!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git +user global configuration and to define the default location to store repositories: 'C:\Users\86151'. If this is +not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and +EGit might behave differently since they see different configuration options. +This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. + +!ENTRY org.eclipse.core.jobs 4 2 2021-06-09 21:23:16.820 +!MESSAGE 在“Deferred Early Start”期间发生了内部错误。 +!STACK 0 +java.lang.NullPointerException + at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPlatform.java:361) + at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:237) + at org.eclipse.oomph.util.OomphPlugin.getLog(OomphPlugin.java:210) + at org.eclipse.oomph.util.OomphPlugin.log(OomphPlugin.java:225) + at org.eclipse.oomph.util.OomphPlugin.log(OomphPlugin.java:236) + at org.eclipse.oomph.internal.ui.EarlyStart.run(EarlyStart.java:116) + at org.eclipse.oomph.internal.ui.EarlyStart$1.run(EarlyStart.java:91) + at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) diff --git a/.metadata/.mylyn/repositories.xml.zip b/.metadata/.mylyn/repositories.xml.zip new file mode 100644 index 0000000000000000000000000000000000000000..f57016db3d5514a0a4764465dd5ffa147a5e3208 Binary files /dev/null and b/.metadata/.mylyn/repositories.xml.zip differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version new file mode 100644 index 0000000000000000000000000000000000000000..25cb955ba23571f6fefd57cecf5f67454210bbc8 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index new file mode 100644 index 0000000000000000000000000000000000000000..ed9b514964f6d401c82fa8fdb36ac30ac51534a7 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version new file mode 100644 index 0000000000000000000000000000000000000000..6b2aaa7640726588bcd3d57e1de4b1315b7f315e --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree b/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree new file mode 100644 index 0000000000000000000000000000000000000000..8a1fc9ec5de0727c9f056384e5a3167da908f53b Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources new file mode 100644 index 0000000000000000000000000000000000000000..7326c8038758048b01f2537646271d8864ccfffc Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000000000000000000000000000000000..dffc6b51349681ffb272ab899b3ef7c402cf49f9 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +version=1 diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000000000000000000000000000000000000..1a86a40898d9e440690aec0103d0583a788ec356 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,9 @@ +content_assist_proposals_background=255,255,255 +content_assist_proposals_foreground=0,0,0 +eclipse.preferences.version=1 +org.eclipse.jdt.internal.ui.navigator.layout=2 +org.eclipse.jdt.internal.ui.navigator.librariesnode=true +org.eclipse.jdt.ui.formatterprofiles.version=18 +spelling_locale_initialized=true +useAnnotationsPrefPage=true +useQuickDiffPrefPage=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jsch.core.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jsch.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..d56c53f151bf27a16afdcdce18f4154bdfe705c7 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jsch.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.j2ee.webservice.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.j2ee.webservice.ui.prefs new file mode 100644 index 0000000000000000000000000000000000000000..553bb967e1b828352d25d6e981314fd56521086f --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.j2ee.webservice.ui.prefs @@ -0,0 +1,2 @@ +areThereWebServices=false +eclipse.preferences.version=1 diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs new file mode 100644 index 0000000000000000000000000000000000000000..67b1d96c9b864711771cb82a5df2bd6866879914 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.m2e.discovery.pref.projects= diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..43e97e40594b0c578d4094acdeb880e730c52b81 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +mylyn.attention.migrated=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs new file mode 100644 index 0000000000000000000000000000000000000000..8d462a6cf4a5380e037352977c750defd2aaed72 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs new file mode 100644 index 0000000000000000000000000000000000000000..5330e43bb76d5008e14605079f4ac6cf02e1b5cc --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +migrated.task.repositories.secure.store=true +org.eclipse.mylyn.tasks.ui.filters.nonmatching=true +org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..a622217995370392b866642a4ecce7f167fff9be --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs @@ -0,0 +1,2 @@ +activeuserprofiles=LAPTOP-9I63FDQU;Team +eclipse.preferences.version=1 diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs new file mode 100644 index 0000000000000000000000000000000000000000..1d63e07b226cd5eaa5a157b8f125719b97548928 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs @@ -0,0 +1,5 @@ +PROBLEMS_FILTERS_MIGRATE=true +eclipse.preferences.version=1 +platformState=1576812137725 +quickStart=false +tipsAndTricks=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs new file mode 100644 index 0000000000000000000000000000000000000000..61df215ad91df20062b8dc96e835316f8dc579c9 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs @@ -0,0 +1,4 @@ +//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false +//org.eclipse.ui.commands/state/org.eclipse.wst.xml.views.XPathView.processor.xpathprocessor/org.eclipse.ui.commands.radioState=xpath10 +PLUGINS_NOT_ACTIVATED_ON_STARTUP=;org.eclipse.m2e.discovery; +eclipse.preferences.version=1 diff --git a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi new file mode 100644 index 0000000000000000000000000000000000000000..9c4f7bf4be080cc1f029e280cdbd674a4add8cf9 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi @@ -0,0 +1,3122 @@ + + + + activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration + ModelMigrationProcessor.001 + + + + + + + + topLevel + shellMaximized + + + + + persp.actionSet:org.eclipse.mylyn.doc.actionSet + persp.actionSet:org.eclipse.mylyn.tasks.ui.navigation + persp.actionSet:org.eclipse.ui.cheatsheets.actionSet + persp.actionSet:org.eclipse.rse.core.search.searchActionSet + persp.actionSet:org.eclipse.search.searchActionSet + persp.actionSet:org.eclipse.text.quicksearch.actionSet + persp.actionSet:org.eclipse.ui.edit.text.actionSet.annotationNavigation + persp.actionSet:org.eclipse.ui.edit.text.actionSet.navigation + persp.actionSet:org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo + persp.actionSet:org.eclipse.ui.externaltools.ExternalToolsSet + persp.actionSet:org.eclipse.ui.actionSet.keyBindings + persp.actionSet:org.eclipse.ui.actionSet.openFiles + persp.actionSet:org.eclipse.wst.jsdt.chromium.debug.ui.actionSets + persp.actionSet:org.eclipse.wb.core.ui.actionset + persp.actionSet:org.eclipse.jst.j2ee.J2eeMainActionSet + persp.actionSet:org.eclipse.jdt.ui.JavaActionSet + persp.actionSet:org.eclipse.debug.ui.launchActionSet + persp.actionSet:org.eclipse.debug.ui.debugActionSet + persp.actionSet:org.eclipse.ui.NavigateActionSet + persp.viewSC:org.eclipse.ui.navigator.ProjectExplorer + persp.viewSC:org.eclipse.wst.server.ui.ServersView + persp.viewSC:org.eclipse.datatools.connectivity.DataSourceExplorerNavigator + persp.viewSC:org.eclipse.ui.views.BookmarkView + persp.viewSC:org.eclipse.ui.views.ContentOutline + persp.viewSC:org.eclipse.ui.views.PropertySheet + persp.viewSC:org.eclipse.ui.views.ResourceNavigator + persp.viewSC:org.eclipse.wst.common.snippets.internal.ui.SnippetsView + persp.viewSC:org.eclipse.ui.views.AllMarkersView + persp.viewSC:org.eclipse.mylyn.tasks.ui.views.tasks + persp.viewSC:org.eclipse.search.ui.views.SearchView + persp.viewSC:org.eclipse.ui.console.ConsoleView + persp.showIn:org.eclipse.ui.navigator.ProjectExplorer + persp.actionSet:org.eclipse.wst.ws.explorer.explorer + persp.newWizSC:org.eclipse.m2e.core.wizards.Maven2ProjectWizard + persp.showIn:org.eclipse.tm.terminal.view.ui.TerminalsView + persp.perspSC:org.eclipse.debug.ui.DebugPerspective + persp.perspSC:org.eclipse.jdt.ui.JavaPerspective + persp.perspSC:org.eclipse.ui.resourcePerspective + persp.perspSC:org.eclipse.wst.web.ui.webDevPerspective + persp.newWizSC:org.eclipse.jst.j2ee.ui.project.facet.EarProjectWizard + persp.newWizSC:org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard + persp.newWizSC:org.eclipse.jst.ejb.ui.project.facet.EjbProjectWizard + persp.newWizSC:org.eclipse.jst.j2ee.jca.ui.internal.wizard.ConnectorProjectWizard + persp.newWizSC:org.eclipse.jst.j2ee.ui.project.facet.appclient.AppClientProjectWizard + persp.newWizSC:org.eclipse.wst.web.ui.internal.wizards.SimpleWebProjectWizard + persp.newWizSC:org.eclipse.jpt.ui.wizard.newJpaProject + persp.newWizSC:org.eclipse.jst.servlet.ui.internal.wizard.AddServletWizard + persp.newWizSC:org.eclipse.jst.ejb.ui.internal.wizard.AddSessionBeanWizard + persp.newWizSC:org.eclipse.jst.ejb.ui.internal.wizard.AddMessageDrivenBeanWizard + persp.newWizSC:org.eclipse.jpt.ui.wizard.newEntity + persp.newWizSC:org.eclipse.jst.ws.creation.ui.wizard.serverwizard + persp.newWizSC:org.eclipse.ui.wizards.new.folder + persp.newWizSC:org.eclipse.ui.wizards.new.file + persp.actionSet:org.eclipse.wst.server.ui.internal.webbrowser.actionSet + persp.actionSet:org.eclipse.debug.ui.breakpointActionSet + persp.actionSet:org.eclipse.eclemma.ui.CoverageActionSet + persp.showIn:org.eclipse.eclemma.ui.CoverageView + persp.newWizSC:org.eclipse.jpt.jpa.ui.wizard.newJpaProject + persp.perspSC:org.eclipse.jpt.ui.jpaPerspective + + + + View + categoryTag:常规 + + + View + categoryTag:常规 + + + View + categoryTag:Java + + + View + categoryTag:Java 浏览 + + + + + + + + View + categoryTag:常规 + + + View + categoryTag:Mylyn + + + View + categoryTag:常规 + + + + + + View + categoryTag:常规 + + + View + categoryTag:常规 + + + View + categoryTag:Server + + + View + categoryTag:Data Management + + + View + categoryTag:常规 + + + View + categoryTag:常规 + + + View + categoryTag:常规 + + + View + categoryTag:常规 + + + View + categoryTag:常规 + + + View + categoryTag:常规 + + + View + categoryTag:常规 + + + + + + + + active + + View + categoryTag:帮助 + + + View + categoryTag:常规 + + + View + categoryTag:帮助 + + + + + + + View + categoryTag:帮助 + + + + + + View + categoryTag:常规 + active + activeOnClose + + ViewMenu + menuContribution:menu + + + + + + + View + categoryTag:帮助 + + + + org.eclipse.e4.primaryDataStack + EditorStack + + + + + + + View + categoryTag:常规 + + ViewMenu + menuContribution:menu + + + + + + + View + categoryTag:常规 + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java 浏览 + + + + + + View + categoryTag:常规 + + ViewMenu + menuContribution:menu + + + + + + + View + categoryTag:常规 + + + + + View + categoryTag:Server + + + + + View + categoryTag:Data Management + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + + View + categoryTag:常规 + + ViewMenu + menuContribution:menu + + + + + + + View + categoryTag:Mylyn + + + + + View + categoryTag:常规 + + + + toolbarSeparator + + + + Draggable + + + + toolbarSeparator + + + + Draggable + + + toolbarSeparator + + + + Draggable + + + Draggable + + + Draggable + + + Draggable + + + Draggable + + + toolbarSeparator + + + + Draggable + + + + toolbarSeparator + + + + toolbarSeparator + + + + Draggable + + + stretch + SHOW_RESTORE_MENU + + + Draggable + HIDEABLE + SHOW_RESTORE_MENU + + + + + stretch + + + Draggable + + + Draggable + + + + + TrimStack + Draggable + + + + + + + + + + + + + + + + + + + + platform:win32 + + + + + + + + + + + + locale:zh + + + + + + + + + + + + + + + + + + + locale:zh + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + locale:zh + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + locale:zh + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + platform:win32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Editor + removeOnHide + + + + + View + categoryTag:Ant + + + + + View + categoryTag:Gradle + + + + + View + categoryTag:Gradle + + + + + View + categoryTag:Data Management + + + + + View + categoryTag:Data Management + + + + + View + categoryTag:Data Management + + + + + View + categoryTag:调试 + + + + + View + categoryTag:调试 + + + + + View + categoryTag:调试 + + + + + View + categoryTag:调试 + + + + + View + categoryTag:调试 + + + + + View + categoryTag:调试 + + + + + View + categoryTag:调试 + + + + + View + categoryTag:Java + + + + + View + categoryTag:Git + + + + + View + categoryTag:Git + + + + + View + categoryTag:Git + + + + + View + categoryTag:Git + NoRestore + + + + + View + categoryTag:Git + + + + + View + categoryTag:常规 + + + + + View + categoryTag:帮助 + + + + + View + categoryTag:调试 + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java 浏览 + + + + + View + categoryTag:Java 浏览 + + + + + View + categoryTag:Java 浏览 + + + + + View + categoryTag:Java 浏览 + + + + + View + categoryTag:Java + + + + + View + categoryTag:常规 + + + + + View + categoryTag:Java + + + + + View + categoryTag:Java + + + + + View + categoryTag:JPA + + + + + View + categoryTag:JPA + + + + + View + categoryTag:JavaServer Faces + + + + + View + categoryTag:JavaServer Faces + + + + + View + categoryTag:Web Services + + + + + View + categoryTag:Maven + + + + + View + categoryTag:Maven + + + + + View + categoryTag:Mylyn + + + + + View + categoryTag:Mylyn + + + + + View + categoryTag:Mylyn + + + + + View + categoryTag:Oomph + + + + + View + categoryTag:API 工具 + + + + + View + categoryTag:插件开发 + + + + + View + categoryTag:插件开发 + + + + + View + categoryTag:插件开发 + + + + + View + categoryTag:插件开发 + + + + + View + categoryTag:插件开发 + + + + + View + categoryTag:插件开发 + + + + + View + categoryTag:Remote Systems + + + + + View + categoryTag:Remote Systems + + + + + View + categoryTag:Remote Systems + + + + + View + categoryTag:Remote Systems + + + + + View + categoryTag:Remote Systems + + + + + View + categoryTag:Remote Systems + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:小组 + + + + + View + categoryTag:小组 + + + View + categoryTag:帮助 + + + + + View + categoryTag:Terminal + + + + + View + categoryTag:其他 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:帮助 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:常规 + + + + + View + categoryTag:调试 + + + + + View + categoryTag:JavaScript + + + + + View + categoryTag:JavaScript + + + + + View + categoryTag:JavaScript + + + + + View + categoryTag:JavaScript + + + + + View + categoryTag:JavaScript + + + + + View + categoryTag:Server + + + + + View + categoryTag:XML + + + + + View + categoryTag:XML + + + + + View + categoryTag:XML + + + + + View + categoryTag:XML + + + + + View + categoryTag:XML + + + + + View + categoryTag:WindowBuilder + + + + + View + categoryTag:WindowBuilder + + + + glue + move_after:PerspectiveSpacer + SHOW_RESTORE_MENU + + + move_after:Spacer Glue + HIDEABLE + SHOW_RESTORE_MENU + + + glue + move_after:SearchField + SHOW_RESTORE_MENU + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache b/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache new file mode 100644 index 0000000000000000000000000000000000000000..593f4708db84ac8fd0f5cc47c634f38c013fe9e4 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache differ diff --git a/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache b/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache new file mode 100644 index 0000000000000000000000000000000000000000..593f4708db84ac8fd0f5cc47c634f38c013fe9e4 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache differ diff --git a/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache b/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache new file mode 100644 index 0000000000000000000000000000000000000000..593f4708db84ac8fd0f5cc47c634f38c013fe9e4 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache differ diff --git a/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat b/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat new file mode 100644 index 0000000000000000000000000000000000000000..3de398e8f2856ff30f4c5dd9cf8cfd66b137fcc8 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat differ diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml b/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml new file mode 100644 index 0000000000000000000000000000000000000000..a4ee3cbc9a7fb4242b2f2becb901674986dc4389 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml @@ -0,0 +1,2 @@ + + diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml new file mode 100644 index 0000000000000000000000000000000000000000..9e390f501d055f97f1a023eb11d0916f4992c3e9 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml @@ -0,0 +1,2 @@ + + diff --git a/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log new file mode 100644 index 0000000000000000000000000000000000000000..b02f8f2f7d79bf9949508037de0109b36472387d --- /dev/null +++ b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log @@ -0,0 +1,3 @@ +2021-05-30 17:38:14,679 [Worker-4: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update. +2021-06-09 21:22:28,662 [Worker-4: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update. +2021-06-09 21:22:38,920 [Worker-4: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Updating Gradle version information cache failed. Using outdated cache. diff --git a/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.14.0.20191209-1925.xml b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.14.0.20191209-1925.xml new file mode 100644 index 0000000000000000000000000000000000000000..e33758c3a3653d6c8230e40ef86ec78ac44b3374 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.14.0.20191209-1925.xml @@ -0,0 +1,43 @@ + + + + %date [%thread] %-5level %logger{35} - %msg%n + + + OFF + + + + + ${org.eclipse.m2e.log.dir}/0.log + + ${org.eclipse.m2e.log.dir}/%i.log + 1 + 10 + + + 100MB + + + %date [%thread] %-5level %logger{35} - %msg%n + + + + + + WARN + + + + + + + + + + + + + + + diff --git a/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup b/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup new file mode 100644 index 0000000000000000000000000000000000000000..1f73e14c1a55d41d85ea916a87b57b3251cb1681 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup @@ -0,0 +1,6 @@ + + diff --git a/.metadata/.plugins/org.eclipse.rse.core/.log b/.metadata/.plugins/org.eclipse.rse.core/.log new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark b/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/.metadata/.plugins/org.eclipse.tips.ide/dialog_settings.xml b/.metadata/.plugins/org.eclipse.tips.ide/dialog_settings.xml new file mode 100644 index 0000000000000000000000000000000000000000..5ca0b7769013920648b17f3f51ba3e88139fdf0e --- /dev/null +++ b/.metadata/.plugins/org.eclipse.tips.ide/dialog_settings.xml @@ -0,0 +1,3 @@ + +
+
diff --git a/.metadata/.plugins/org.eclipse.tm.terminal.view.ui/.executables/data.properties b/.metadata/.plugins/org.eclipse.tm.terminal.view.ui/.executables/data.properties new file mode 100644 index 0000000000000000000000000000000000000000..87b2e2de684a276555129d74c88f9f4d7bf9df91 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.tm.terminal.view.ui/.executables/data.properties @@ -0,0 +1,6 @@ +#Sun May 30 17:38:01 CST 2021 +0.Icon=D\:\\Git\\mingw64\\share\\git\\git-for-windows.ico +0.Path=D\:\\Git\\bin\\sh.exe +0.Translate=true +0.Args=--login -i +0.Name=Git Bash diff --git a/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml new file mode 100644 index 0000000000000000000000000000000000000000..e646053f0df82405a4425b949a094eeaf8e52b06 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml @@ -0,0 +1,12 @@ + +
+
+ + + + + + + +
+
diff --git a/.metadata/.plugins/org.eclipse.ui.intro/introstate b/.metadata/.plugins/org.eclipse.ui.intro/introstate new file mode 100644 index 0000000000000000000000000000000000000000..236d56cbad8379abdb8f5fb599717d93cd38201d --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.intro/introstate @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml new file mode 100644 index 0000000000000000000000000000000000000000..5ca0b7769013920648b17f3f51ba3e88139fdf0e --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml @@ -0,0 +1,3 @@ + +
+
diff --git a/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml new file mode 100644 index 0000000000000000000000000000000000000000..43c2de616fa41c9ee6b5ddd34d9265f563041f96 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.metadata/version.ini b/.metadata/version.ini new file mode 100644 index 0000000000000000000000000000000000000000..c1dda97b230a72c9ea625f156257437c4ad7a17d --- /dev/null +++ b/.metadata/version.ini @@ -0,0 +1,3 @@ +#Wed Jun 09 21:22:12 CST 2021 +org.eclipse.core.runtime=2 +org.eclipse.platform=4.14.0.v20191210-0610 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index bb35fa0a87b032ee9d0b128004c1edbd464f07bf..c59d0c6a9641314a2958f94860a9c0aaa4fcd620 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,5 +1,6 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.8 @@ -7,5 +8,8 @@ org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/assets/images/div0.gif b/assets/images/div0.gif new file mode 100644 index 0000000000000000000000000000000000000000..4fb6d10207408e427c1aff514d98cb22ef64a9f7 Binary files /dev/null and b/assets/images/div0.gif differ diff --git a/assets/images/normal.gif b/assets/images/normal.gif new file mode 100644 index 0000000000000000000000000000000000000000..51396b529442f04e90a41b2748e4e2f09064c1e5 Binary files /dev/null and b/assets/images/normal.gif differ diff --git a/assets/images/number_0.jpg b/assets/images/number_0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..57a5a8a7ab8c5042124fd5263af974bdff1d3153 Binary files /dev/null and b/assets/images/number_0.jpg differ diff --git a/assets/images/number_1.jpg b/assets/images/number_1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e527045344468aa0248c3bd5c26ec46320deab3b Binary files /dev/null and b/assets/images/number_1.jpg differ diff --git a/assets/images/number_2.jpg b/assets/images/number_2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..879fd16cba9726e85c2375bdb1adb1cca792e222 Binary files /dev/null and b/assets/images/number_2.jpg differ diff --git a/assets/images/number_3.jpg b/assets/images/number_3.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e79a4fef7f4d8f724c655f43578e7b6c13f9c189 Binary files /dev/null and b/assets/images/number_3.jpg differ diff --git a/assets/images/number_4.jpg b/assets/images/number_4.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a4d5bd0b1b1cfb6d7d111f894e2103a57d035b98 Binary files /dev/null and b/assets/images/number_4.jpg differ diff --git a/assets/images/number_5.jpg b/assets/images/number_5.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5ec901eb7f6fa316c9841f8332a0a4860dd47502 Binary files /dev/null and b/assets/images/number_5.jpg differ diff --git a/assets/images/number_6.jpg b/assets/images/number_6.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8dee7fe772d78eaecfab49dc0d581755c33993e1 Binary files /dev/null and b/assets/images/number_6.jpg differ diff --git a/assets/images/number_7.jpg b/assets/images/number_7.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3aa2fe12893363e9e4e6c394d9753f9eefcd4f7a Binary files /dev/null and b/assets/images/number_7.jpg differ diff --git a/assets/images/number_8.jpg b/assets/images/number_8.jpg new file mode 100644 index 0000000000000000000000000000000000000000..388e1af4a8287d566c310f87e128ed98654dfbad Binary files /dev/null and b/assets/images/number_8.jpg differ diff --git a/assets/images/number_9.jpg b/assets/images/number_9.jpg new file mode 100644 index 0000000000000000000000000000000000000000..07294ff93412654c14bf6d7d40f7a25715504e63 Binary files /dev/null and b/assets/images/number_9.jpg differ diff --git a/assets/images/sign_negative.jpg b/assets/images/sign_negative.jpg new file mode 100644 index 0000000000000000000000000000000000000000..af337c3a6eddb00efd5d9de52eaf1803fb5359da Binary files /dev/null and b/assets/images/sign_negative.jpg differ diff --git a/assets/images/sign_point.jpg b/assets/images/sign_point.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1b9cfe00d5ba32ed568cb7cf762faee6866f8e6b Binary files /dev/null and b/assets/images/sign_point.jpg differ diff --git a/src/caltulator/CalculatorButton.java b/src/caltulator/CalculatorButton.java new file mode 100644 index 0000000000000000000000000000000000000000..6da1f8ca423f55a943b69f7ba082055730aa0eb9 --- /dev/null +++ b/src/caltulator/CalculatorButton.java @@ -0,0 +1,29 @@ +package caltulator; + +import java.awt.*; +import javax.swing.ImageIcon; +import javax.swing.JButton; + +public class CalculatorButton{ + public static JButton getButton(String fileName) { + JButton btn = new JButton(); + //ͼ + ImageIcon icon = new ImageIcon("assets/images/"+fileName+".jpg"); + Image temp = icon.getImage().getScaledInstance(100,90,Image.SCALE_DEFAULT); + icon.setImage(temp); + //ͼ + btn.setIcon(icon); + btn.setOpaque(false); + btn.setContentAreaFilled(false); + btn.setMargin(new Insets(0, 0, 0, 0)); + btn.setBackground(new Color(206,236,245)); + return btn; + } + + public static JButton buttonFactory(String text,int size) { + JButton button = new JButton(text); + button.setFont(new Font("", Font.PLAIN, size)); + button.setBackground(new Color(240,248,255)); + return button; + } +} diff --git a/src/caltulator/CalculatorFrame.java b/src/caltulator/CalculatorFrame.java new file mode 100644 index 0000000000000000000000000000000000000000..c5e3261e201eaf1f958a5c0acb7f234342e6fd99 --- /dev/null +++ b/src/caltulator/CalculatorFrame.java @@ -0,0 +1,258 @@ +package caltulator; + +import java.awt.*; +import java.awt.event.KeyEvent; +import java.awt.event.KeyListener; +import java.math.BigDecimal; +import java.text.DecimalFormat; +import java.util.ArrayList; + +import javax.swing.*; +import javax.swing.text.AttributeSet; +import javax.swing.text.BadLocationException; +import javax.swing.text.JTextComponent; +import javax.swing.text.PlainDocument; + +import listener.*; + +public class CalculatorFrame extends JFrame { + + /** + * @param ʽ + */ + JTextField input; + + /** + * @param ť + */ + JPanel centerP; + + /** + * @param + */ + JPanel northP; + + private static double a=0; + + private static double c=0; + + private static String b=null; + + private static boolean d=false; + + private static JLabel icon; + + ArrayList buttons = new ArrayList(); + + + public static double getA() { + return a; + } + + public static void setA(double a) { + CalculatorFrame.a = a; + } + + public static double getC() { + return c; + } + + public static void setC(double c) { + CalculatorFrame.c = c; + } + + public static String getB() { + return b; + } + + public static void setB(String b) { + CalculatorFrame.b = b; + } + + public static boolean getD() { + return d; + } + + public static void setD(boolean d) { + CalculatorFrame.d = d; + } + + public static void toggleD(){ + boolean d=CalculatorFrame.getD(); + if(d) { + CalculatorFrame.setD(false); + } + else { + CalculatorFrame.setD(true); + } + } + + public CalculatorFrame() { + getContentPane().setLayout(new BorderLayout()); + init(); + setVisible(true); + setTitle("CinnamonDogCalculator"); + setSize(450,660); + setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + } + + void init(){ + this.setBackground(new Color(206,236,245)); + + input=new JTextField("",15); + + input.setFont(new Font("", Font.PLAIN, 40)); + input.setBackground(new Color(240, 248, 255)); + input.setDocument(new PlainDocument() { + + @Override + public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { + String text = input.getText(); + if (text.length() + str.length() > 15) { + input.setText("򳤶"); + ImageIcon errIcon = new ImageIcon("assets/images/div0.gif"); + Image temp = errIcon.getImage().getScaledInstance(107, 80, Image.SCALE_DEFAULT); + errIcon.setImage(temp); + CalculatorFrame.getIcon().setIcon(errIcon); + return; + } + + + super.insertString(offs, str, a); + } + }); + + + ImageIcon icon = new ImageIcon("assets/images/normal.gif"); + Image temp = icon.getImage().getScaledInstance(108,80,Image.SCALE_DEFAULT); + icon.setImage(temp); + JLabel jl=new JLabel(icon); + this.icon = jl; + + northP=new JPanel(); + northP.setBackground(new Color(173, 216, 230)); + northP.setLayout(new FlowLayout()); + northP.add(input); + northP.add(jl); + northP.setSize(450, 50); + input.setPreferredSize(new Dimension(300, 80)); + + centerP=new JPanel(); + centerP.setBackground(new Color(255, 255, 255)); + centerP.setLayout(new GridLayout(5,4)); + + + addButton(CalculatorButton.buttonFactory("CE", 60)); + + addButton(CalculatorButton.buttonFactory("C", 60)); + addButton(CalculatorButton.buttonFactory("%", 60)); + addButton(CalculatorButton.buttonFactory("", 60)); + + addButton(CalculatorButton.getButton("number_1")); + addButton(CalculatorButton.getButton("number_2")); + addButton(CalculatorButton.getButton("number_3")); + addButton(CalculatorButton.buttonFactory("+",75)); + + addButton(CalculatorButton.getButton("number_4")); + addButton(CalculatorButton.getButton("number_5")); + addButton(CalculatorButton.getButton("number_6")); + addButton(CalculatorButton.buttonFactory("-",75)); + + addButton(CalculatorButton.getButton("number_7")); + addButton(CalculatorButton.getButton("number_8")); + addButton(CalculatorButton.getButton("number_9")); + + addButton(CalculatorButton.buttonFactory("",65)); + + addButton(CalculatorButton.buttonFactory("",75)); + + addButton(CalculatorButton.getButton("number_0")); + + addButton(CalculatorButton.buttonFactory(".",75)); + + addButton(CalculatorButton.buttonFactory("=",75)); + + for(int i=0;i