Skip to content

Commit 5a8b066

Browse files
author
Hongten
committed
add README.md
add README.md
1 parent 07fb63b commit 5a8b066

14 files changed

+120
-112
lines changed

README.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# notepad
2+
3+
I have spent near more two weeks to write this Notepad application. At this moment, I want to share with you.
4+
5+
I wonder that do you know the Notepad in Windows XP/7. If you have no idea, I am pleasure to display the Notepad
6+
7+
in Windows 7 with you, and it displays as below:
8+
![Example](https://github.com/Hongten/notepad/tree/master/image/windows_notepad_panel.png)
9+
10+
It has large future and simple interface, so does my Notepad!
11+
12+
Well, I will introduce my Notepad.
13+
14+
First, Let's look at the structure of the my Notepad application:
15+
![Example](https://github.com/Hongten/notepad/tree/master/image/structure.png)
16+
17+
# How to add substance to your project build path?
18+
19+
NOTE:
20+
Your computer should install the Maven(apache-maven-3.2.2 is good choice) before running this project!
21+
22+
There are TWO ways to provided.
23+
24+
1. Using eclipse tool to add the substance-1.0.jar to project build path.
25+
1.1.Finding the substance-1.0.jar with the path "[notepad/lib/skin/substance-1.0.jar](https://github.com/Hongten/notepad/blob/master/lib/skin/substance-1.0.jar)".
26+
Right Click --> Build Path --> Add to Build Path.
27+
28+
1.2.Then open the opm.xml(with the path "[notepad/pom.xml](https://github.com/Hongten/notepad/blob/master/pom.xml)")
29+
Deleting the substance dependency:
30+
```xml
31+
<dependency>
32+
<groupId>org.jvnet.substance</groupId>
33+
<artifactId>substance</artifactId>
34+
<version>1.0</version>
35+
</dependency>
36+
```
37+
38+
2. Copy the substance-1.0.jar to your repository.
39+
2.1.Finding the substance-1.0.jar with the path "[notepad/lib/skin/substance-1.0.jar](https://github.com/Hongten/notepad/blob/master/lib/skin/substance-1.0.jar)".
40+
Copying the substance-1.0.jar file to your repository.
41+
The default path of the repository is "${user.home}/.m2/repository/org/jvnet/substance/substance/1.0/substance-1.0.jar"
42+
43+
# How to run notepad project?
44+
45+
Using the eclipse tool and finding the Client.java file with the path "notepad/src/main/java/com/b510/notepad/client/[Client.java](https://github.com/Hongten/notepad/blob/master/src/main/java/com/b510/notepad/client/Client.java)".
46+
Right Click --> Run As --> Java Application
47+
48+
49+
50+
-----------------------------------------------------
51+
# The Notepad Main UI
52+
53+
![Example](https://github.com/Hongten/notepad/tree/master/image/wmain_panel.png)
54+
55+
# The Notepad Main UI
56+
57+
![Example](https://github.com/Hongten/notepad/tree/master/image/wmain_panel.png)
58+
59+
# File Menu
60+
61+
![Example](https://github.com/Hongten/notepad/tree/master/image/file_menu_panel.png)
62+
63+
# Edit Menu
64+
65+
![Example](https://github.com/Hongten/notepad/tree/master/image/edit_menu_panel.png)
66+
67+
# Format Menu
68+
69+
![Example](https://github.com/Hongten/notepad/tree/master/image/format_menu_panel.png)
70+
71+
# View Menu
72+
73+
![Example](https://github.com/Hongten/notepad/tree/master/image/view_menu_panel.png)
74+
75+
# Time Menu
76+
77+
![Example](https://github.com/Hongten/notepad/tree/master/image/time.png)
78+
79+
# Open File
80+
81+
![Example](https://github.com/Hongten/notepad/tree/master/image/open_file_panel.png)
82+
83+
# About
84+
85+
![Example](https://github.com/Hongten/notepad/tree/master/image/about_panel.png)
86+
87+
# Change Skin
88+
89+
![Example](https://github.com/Hongten/notepad/tree/master/image/change_skin_panel.png)
90+
91+
# Describe for all files
92+
93+
**Client.java** --> The entry of the notepad application. It contains the main method.
94+
**Common.java** --> All constants in here.
95+
**AboutUI.java** --> About notepad page.
96+
**FindManagerUI.java** --> Find page.
97+
**FontManagerUI.java** --> Font setting page.
98+
**FontSizeManagerUI.java** --> Font sizt setting page.
99+
**UI.java** --> The parent class for the NotepadUI, It extends JFrame.
100+
**MainUI.java** --> The main page of the notepad.
101+
**NotepadUI.java** --> The parent class for the MainUI, It extends JUI and implements ActionListener.
102+
**ReplaceManagerUI.java** --> Replace page.
103+
**SkinManagerUI.java** --> Skin setting page.
104+
**EditMenuUtil.java** --> Edit menu functions provider.
105+
**FileMenuUtil.java** --> File menu functions provider.
106+
**FormatMenuUtil.java** --> Format menu functions provider.
107+
**HelpMenuUtil.java** --> Help menu functions provider.
108+
**NotepadUtil.java** --> Common functions provider.
109+
**ViewMenuUtil.java** --> View menu functions provider.
110+
**log4j.properties** --> A properties for the log4j.
111+
**substance-1.0.jar** --> substance dependency.
112+
**pom.xml** --> pom.xml
113+
114+
# More Information
115+
116+
* Author : Hongten
117+
118+
* Home Page : [http://www.cnblogs.com/hongten](http://www.cnblogs.com/hongten)
119+
* Refer Skin Page : [http://www.cnblogs.com/hongten/p/hongten_notepad_substance_skins.html](http://www.cnblogs.com/hongten/p/hongten_notepad_substance_skins.html)
120+
* Substance URL : [https://substance.dev.java.net/](https://substance.dev.java.net/)

image/about_panel.png

158 KB
Loading

image/change_skin_panel.png

74.5 KB
Loading

image/edit_menu_panel.png

41 KB
Loading

image/file_menu_panel.png

25.7 KB
Loading

image/format_menu_panel.png

35.7 KB
Loading

image/help_menu_panel.png

51.7 KB
Loading

image/main_panel.png

67 KB
Loading

image/open_file_panel.png

80.6 KB
Loading

image/structure.png

17.2 KB
Loading

0 commit comments

Comments
 (0)