diff --git a/.idea/artifacts/JnotePad.xml b/.idea/artifacts/JNotepad.xml similarity index 62% rename from .idea/artifacts/JnotePad.xml rename to .idea/artifacts/JNotepad.xml index c2b57a5..bad8fec 100644 --- a/.idea/artifacts/JnotePad.xml +++ b/.idea/artifacts/JNotepad.xml @@ -1,12 +1,11 @@ - - $PROJECT_DIR$/out/artifacts/JnotePad + + $PROJECT_DIR$/out/artifacts/JNotepad - - - - + + diff --git a/.idea/compiler.xml b/.idea/compiler.xml index e8fe5af..37f7485 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -6,6 +6,7 @@ + diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..2b63946 --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index dc2e1e7..6fd30a4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Jnotepad +# JNotepad ![](https://img.shields.io/badge/Windows-Passing-49%2C198%2C84.svg?style=falt&logo=Windows) ![](https://img.shields.io/badge/Ubuntu-Passing-49%2C198%2C84.svg?style=falt&logo=Ubuntu) @@ -20,7 +20,7 @@ qq群:386279455 2. Linux/MacOS 平台,克隆后自行编译 -
git clone https://gitee.com/jcnc-PC/jnotepad.git
+
git clone https://gitee.com/jcnc-org/JNotepad.git
diff --git a/screenshot/windows-1.png b/screenshot/windows-1.png index 540f98f..eda3886 100644 Binary files a/screenshot/windows-1.png and b/screenshot/windows-1.png differ diff --git a/src/main/java/JnotePad.java b/src/main/java/JNotepad.java similarity index 98% rename from src/main/java/JnotePad.java rename to src/main/java/JNotepad.java index e75dfe1..1dacc5e 100644 --- a/src/main/java/JnotePad.java +++ b/src/main/java/JNotepad.java @@ -11,9 +11,11 @@ import javafx.stage.Stage; import java.io.*; -public class JnotePad extends Application { +public class JNotepad extends Application { String iconSrc = "img/icon.png"; + String Title = "JNotepad"; + // 定义菜单栏 MenuBar menuBar; Menu fileMenu; @@ -31,7 +33,7 @@ public class JnotePad extends Application { @Override public void start(Stage primaryStage) { - primaryStage.setTitle("JnotePad"); + primaryStage.setTitle(Title); // 创建菜单栏并添加菜单项 menuBar = new MenuBar();