Skip to content

Commit 6625bd9

Browse files
author
fxu
committed
Merge branch 'jdk17dev-gradle'
# Conflicts: # xJavaFxTool/src/main/resources/com/xwintop/xJavaFxTool/fxmlView/Index.fxml # xJavaFxTool/src/main/resources/css/ideaStyle.css
2 parents d1fc254 + 5616278 commit 6625bd9

1,656 files changed

Lines changed: 103024 additions & 756 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ devLibs
1010

1111
system_plugin_list.json
1212
RUNNING_PID
13-
gradle
13+
#gradle
1414
.gradle
1515
build
1616
out

README.md

Lines changed: 83 additions & 88 deletions
Large diffs are not rendered by default.

README_EN.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
**GitHub address:**[xJavaFxTool](https://github.com/864381832/xJavaFxTool)
44

5-
**Tencent Cloud Development Platform Address:**[xJavaFxTool](https://dev.tencent.com/u/xwintop/p/xJavaFxTool)
6-
75
[![](https://img.shields.io/:license-apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
86
[![](https://img.shields.io/badge/JDK-17+-green.svg)](https://www.oracle.com/technetwork/java/javase/downloads/index.html)
97
[![](https://img.shields.io/badge/maven-v3.6.3-blue)](https://maven.apache.org)
@@ -16,27 +14,26 @@
1614
**xJavaFxTool exchange QQ group:== [387473650](https://jq.qq.com/?_wv=1027&k=59UDEAD) ==**
1715

1816
#### Project Description:
19-
xJavaFxTool is a practical gadget set developed by javaFx. It uses some time to summarize some problems encountered in the work, packaged into a small tool set for your reference and use. It contains some examples of javaFx functions, such as layout, Internationalization, third-party UI library ( [controlsfx](http://fxexperience.com/controlsfx/) , [JFoenix](http://www.jfoenix.com/), etc.), external jar package loading (plug-in mechanism) and other common functions, students who want to learn javaFx can refer to the reference, learn javaFx data reference [www.javafxchina.net](http://www.javafxchina.net/main/)
17+
xJavaFxTool is a practical gadget set developed by javaFx. It uses some time to summarize some problems encountered in the work, packaged into a small tool set for your reference and use. It contains some examples of javaFx functions, such as layout, Internationalization, third-party UI library ( [controlsfx](https://github.com/controlsfx/controlsfx) , [JFoenix](https://github.com/sshahine/JFoenix), etc.), external jar package loading (plug-in mechanism) and other common functions, students who want to learn javaFx can refer to the reference, learn javaFx data reference [https://openjfx.cn/](https://openjfx.cn/)
2018

2119
Due to the hot SpringBoot, the project has been released SpringBoot-javafx version, [xJavaFxTool-spring](https://gitee.com/xwintop/xJavaFxTool-spring) welcome reference, thank you.
2220

2321
#### Download trial address:
24-
- Jar package that can be run directly (local need to have jdk1.8 environment)[xJavaFxTool-0.3.2.jar](https://github.com/864381832/xJavaFxTool/releases/download/0.3.2/xJavaFxTool-0.3.2.jar)
25-
- Windows x64 installation package (compatible with xp, windows7, 8, 10, etc.)[xJavaFxTool-0.3.2-windows-x64.exe](https://github.com/864381832/xJavaFxTool/releases/download/0.3.2/xJavaFxTool-0.3.2-windows-x64.exe)
26-
- Mac OS x64 [xJavaFxTool-0.3.2-macos.pkg](https://github.com/864381832/xJavaFxTool/releases/download/0.3.2/xJavaFxTool-0.3.2-macos.pkg)
27-
- Linux x64 [xJavaFxTool-0.3.2-linux-x64.zip](https://github.com/864381832/xJavaFxTool/releases/download/0.3.2/xJavaFxTool-0.3.2-linux-x64.zip)
28-
#### If the above link fails, use the download link below:
29-
- Baidu cloud link: [https://pan.baidu.com/s/193fhGnJL4dDWcqDnFJcHbA](https://pan.baidu.com/s/193fhGnJL4dDWcqDnFJcHbA) extraction code: mokl
30-
- Tencent micro cloud link: [https://share.weiyun.com/5T6FPLW](https://share.weiyun.com/5T6FPLW) extraction code: java
22+
- Linux amd64 [xJavaFxTool-1.0.1-linux-amd64.deb](https://github.com/864381832/xJavaFxTool/releases/download/v1.0.1/xJavaFxTool-1.0.1-linux-amd64.deb)
23+
- Linux amd64 [xJavaFxTool-1.0.1-linux-amd64.rpm](https://github.com/864381832/xJavaFxTool/releases/download/v1.0.1/xJavaFxTool-1.0.1-linux-amd64.rpm)
24+
- Mac OS aarch64 [xJavaFxTool-1.0.1-macos-x64.dmg](https://github.com/864381832/xJavaFxTool/releases/download/v1.0.1/xJavaFxTool-1.0.1-macos-aarch64.dmg)
25+
- Mac OS aarch64 [xJavaFxTool-1.0.1-macos-x64.pkg](https://github.com/864381832/xJavaFxTool/releases/download/v1.0.1/xJavaFxTool-1.0.1-macos-aarch64.pkg)
26+
- Windows x64 [xJavaFxTool-1.0.1-windows-x64.exe](https://github.com/864381832/xJavaFxTool/releases/download/v1.0.1/xJavaFxTool-1.0.1-windows-x64.exe)
27+
- Windows x64 [xJavaFxTool-1.0.1-windows-x64.msi](https://github.com/864381832/xJavaFxTool/releases/download/v1.0.1/xJavaFxTool-1.0.1-windows-x64.msi)
28+
- 123cloud link:[https://www.123865.com/s/L5LA-tna7A?pwd=java#](https://www.123865.com/s/L5LA-tna7A?pwd=java#) extraction code:java
3129

3230
#### Support plug-in development:
3331
the plug-in jar package can be automatically loaded under the root directory libs (see the open source project [xJavaFxTool-plugin](https://gitee.com/xwintop/xJavaFxTool-plugin) for plug-in development examples , and the next step is to split the gadget into each plug-in and load it as needed. Currently, the plug-in function is not perfect, follow-up Split each function into modules and load them as needed to reduce the size of the jar package);
3432

3533
#### Environmental construction instructions:
36-
- The development environment is jdk17, based on maven3.6.3 build
34+
- The development environment is jdk17, based on gradle8.5 build
3735
- Developed with eclipase or Intellij Idea (Recommended to use [Intellij Idea](https://www.jetbrains.com/idea/) )
3836
- This project uses [lombok](https://projectlombok.org/) . If you have not downloaded the lombok plugin when viewing this project, please install it first, otherwise you can't find the get/set method.
39-
- The dependent [xcore](https://gitee.com/xwintop/xcore) package has been uploaded to the git-hosted maven platform. The git hosting maven can refer to the tutorial (if you can't download it, please pull the project to compile it yourself ). Tutorial address: Click to enter
4037
- Package using the [javapackager](https://github.com/fvarrui/JavaPackager) (can be packaged for windows, Linux, Mac installation packages)
4138
- Use [InnoSetup](http://www.jrsoftware.org/) to make windows installation packages
4239

@@ -106,6 +103,12 @@ the plug-in jar package can be automatically loaded under the root directory lib
106103
63. ElementaryArithmeticProblemTool:Elementary Arithmetic Problem Tool
107104
64. CoordinateTransformTool:[CoordinateTransformTool](https://gitee.com/xwintop/x-CoordinateTransformTool),Conversion between Baidu coordinates (BD09), National Survey Bureau coordinates (Mars coordinates, GCJ02), and WGS84 coordinates is provided
108105
65. HdfsTool:[HdfsTool](https://gitee.com/xwintop/x-HdfsTool),Support uploading, downloading, renaming, copying, moving and deleting functions
106+
66. JavaFxXmlToObjectCode: Generates corresponding Java code based on .fxml files, can generate plugin templates
107+
67. KeyTool: License generation tool
108+
68. RelationshipCalculator: Calculates appellations through relative relationship chains
109+
69. ExpressionParserTool: An expression parser debugging tool that currently supports SpringEL, Velocity, FreeMarker, StringTemplate, Mvel, Aviator, commons-jexl, BeanShell, QLExpress expression engines
110+
70. mybatis-generator-gui: This tool makes it very easy and quick to generate MyBatis Java POJO files and database mapping files
111+
71. SftpServer: Quickly builds local SFTP service, based on apache.sshd
109112

110113
#### In the development of the project, new tools will be added in the future. Welcome everyone to participate and give more comments, thank you.
111114
#### Plan to add features:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Default ignored files
2+
#/.gitignore
3+
/x-DecompilerWxApkgTool.iml
4+
/log/
5+
/target/
6+
.idea
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
木兰宽松许可证, 第2版
2+
3+
木兰宽松许可证, 第2版
4+
2020年1月 http://license.coscl.org.cn/MulanPSL2
5+
6+
7+
您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第2版(“本许可证”)的如下条款的约束:
8+
9+
0. 定义
10+
11+
“软件”是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
12+
13+
“贡献”是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
14+
15+
“贡献者”是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
16+
17+
“法人实体”是指提交贡献的机构及其“关联实体”。
18+
19+
“关联实体”是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
20+
21+
1. 授予版权许可
22+
23+
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可以复制、使用、修改、分发其“贡献”,不论修改与否。
24+
25+
2. 授予专利许可
26+
27+
每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权行动之日终止。
28+
29+
3. 无商标许可
30+
31+
“本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可,但您为满足第4条规定的声明义务而必须使用除外。
32+
33+
4. 分发限制
34+
35+
您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。
36+
37+
5. 免责声明与责任限制
38+
39+
“软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于何种法律理论,即使其曾被建议有此种损失的可能性。
40+
41+
6. 语言
42+
“本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文版为准。
43+
44+
条款结束
45+
46+
如何将木兰宽松许可证,第2版,应用到您的软件
47+
48+
如果您希望将木兰宽松许可证,第2版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:
49+
50+
1, 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
51+
52+
2, 请您在软件包的一级目录下创建以“LICENSE”为名的文件,将整个许可证文本放入该文件中;
53+
54+
3, 请将如下声明文本放入每个源文件的头部注释中。
55+
56+
Copyright (c) [Year] [name of copyright holder]
57+
[Software Name] is licensed under Mulan PSL v2.
58+
You can use this software according to the terms and conditions of the Mulan PSL v2.
59+
You may obtain a copy of Mulan PSL v2 at:
60+
http://license.coscl.org.cn/MulanPSL2
61+
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
62+
See the Mulan PSL v2 for more details.
63+
64+
65+
Mulan Permissive Software License,Version 2
66+
67+
Mulan Permissive Software License,Version 2 (Mulan PSL v2)
68+
January 2020 http://license.coscl.org.cn/MulanPSL2
69+
70+
Your reproduction, use, modification and distribution of the Software shall be subject to Mulan PSL v2 (this License) with the following terms and conditions:
71+
72+
0. Definition
73+
74+
Software means the program and related documents which are licensed under this License and comprise all Contribution(s).
75+
76+
Contribution means the copyrightable work licensed by a particular Contributor under this License.
77+
78+
Contributor means the Individual or Legal Entity who licenses its copyrightable work under this License.
79+
80+
Legal Entity means the entity making a Contribution and all its Affiliates.
81+
82+
Affiliates means entities that control, are controlled by, or are under common control with the acting entity under this License, ‘control’ means direct or indirect ownership of at least fifty percent (50%) of the voting power, capital or other securities of controlled or commonly controlled entity.
83+
84+
1. Grant of Copyright License
85+
86+
Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable copyright license to reproduce, use, modify, or distribute its Contribution, with modification or not.
87+
88+
2. Grant of Patent License
89+
90+
Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (except for revocation under this Section) patent license to make, have made, use, offer for sale, sell, import or otherwise transfer its Contribution, where such patent license is only limited to the patent claims owned or controlled by such Contributor now or in future which will be necessarily infringed by its Contribution alone, or by combination of the Contribution with the Software to which the Contribution was contributed. The patent license shall not apply to any modification of the Contribution, and any other combination which includes the Contribution. If you or your Affiliates directly or indirectly institute patent litigation (including a cross claim or counterclaim in a litigation) or other patent enforcement activities against any individual or entity by alleging that the Software or any Contribution in it infringes patents, then any patent license granted to you under this License for the Software shall terminate as of the date such litigation or activity is filed or taken.
91+
92+
3. No Trademark License
93+
94+
No trademark license is granted to use the trade names, trademarks, service marks, or product names of Contributor, except as required to fulfill notice requirements in Section 4.
95+
96+
4. Distribution Restriction
97+
98+
You may distribute the Software in any medium with or without modification, whether in source or executable forms, provided that you provide recipients with a copy of this License and retain copyright, patent, trademark and disclaimer statements in the Software.
99+
100+
5. Disclaimer of Warranty and Limitation of Liability
101+
102+
THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
103+
104+
6. Language
105+
106+
THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION SHALL PREVAIL.
107+
108+
END OF THE TERMS AND CONDITIONS
109+
110+
How to Apply the Mulan Permissive Software License,Version 2 (Mulan PSL v2) to Your Software
111+
112+
To apply the Mulan PSL v2 to your work, for easy identification by recipients, you are suggested to complete following three steps:
113+
114+
i Fill in the blanks in following statement, including insert your software name, the year of the first publication of your software, and your name identified as the copyright owner;
115+
116+
ii Create a file named “LICENSE” which contains the whole context of this License in the first directory of your software package;
117+
118+
iii Attach the statement to the appropriate annotated syntax at the beginning of each source file.
119+
120+
121+
Copyright (c) [Year] [name of copyright holder]
122+
[Software Name] is licensed under Mulan PSL v2.
123+
You can use this software according to the terms and conditions of the Mulan PSL v2.
124+
You may obtain a copy of Mulan PSL v2 at:
125+
http://license.coscl.org.cn/MulanPSL2
126+
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
127+
See the Mulan PSL v2 for more details.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
DecompilerWxApkgTool 微信小程序反编译工具
2+
3+
#### 项目简介:
4+
DecompilerWxApkgTool是使用javafx开发的一款微信小程序反编译工具,从微信小程序(小游戏)中获取压缩包,反编译其中的编码及资源
5+
6+
**xJavaFxTool交流QQ群:== [387473650(此群已满)](https://jq.qq.com/?_wv=1027&k=59UDEAD) 请加群②[1104780992](https://jq.qq.com/?_wv=1027&k=bhAdkju9) ==**
7+
8+
#### 环境搭建说明:
9+
- 开发环境为jdk1.8,基于maven构建
10+
- 使用eclipase或Intellij Idea开发(推荐使用[Intellij Idea](https://www.jetbrains.com/?from=xJavaFxTool))
11+
- 该项目为javaFx开发的实用小工具集[xJavaFxTool](https://gitee.com/xwintop/xJavaFxTool)的插件。
12+
- 本项目使用了[lombok](https://projectlombok.org/),在查看本项目时如果您没有下载lombok 插件,请先安装,不然找不到get/set等方法
13+
- 依赖的[xcore包](https://gitee.com/xwintop/xcore)已上传至git托管的maven平台,git托管maven可参考教程(若无法下载请拉取项目自行编译)。[教程地址:点击进入](http://blog.csdn.net/u011747754/article/details/78574026)
14+
15+
![微信小程序反编译工具.png](images/微信小程序反编译工具.png)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DecompilerWxApkgTool
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dependencies {
2+
api project(':xcore')
3+
}
4+
5+
group = 'com.xwintop'
6+
version = '0.0.1'
7+
description = 'x-DecompilerWxApkgTool'
36.7 KB
Loading
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
package com.xwintop.xJavaFxTool;
2+
3+
import com.xwintop.xcore.util.javafx.JavaFxSystemUtil;
4+
import javafx.application.Application;
5+
import javafx.event.EventHandler;
6+
import javafx.fxml.FXMLLoader;
7+
import javafx.scene.Parent;
8+
import javafx.scene.Scene;
9+
import javafx.stage.Stage;
10+
import javafx.stage.WindowEvent;
11+
import lombok.extern.slf4j.Slf4j;
12+
13+
import java.net.URL;
14+
import java.util.ResourceBundle;
15+
16+
@Slf4j
17+
public class DecompilerWxApkgToolMain extends Application {
18+
public static void main(String[] args) {
19+
try {
20+
launch(args);
21+
} catch (Exception e) {
22+
e.printStackTrace();
23+
}
24+
}
25+
26+
@Override
27+
public void start(Stage primaryStage) throws Exception {
28+
FXMLLoader fXMLLoader = DecompilerWxApkgToolMain.getFXMLLoader();
29+
ResourceBundle resourceBundle = fXMLLoader.getResources();
30+
Parent root = fXMLLoader.load();
31+
primaryStage.setResizable(true);
32+
primaryStage.setTitle(resourceBundle.getString("Title"));
33+
// primaryStage.getIcons().add(new Image("/images/icon.jpg"));
34+
double[] screenSize = JavaFxSystemUtil.getScreenSizeByScale(0.74D, 0.8D);
35+
primaryStage.setScene(new Scene(root, screenSize[0], screenSize[1]));
36+
primaryStage.show();
37+
primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>() {
38+
@Override
39+
public void handle(WindowEvent event) {
40+
System.exit(0);
41+
}
42+
});
43+
}
44+
45+
public static FXMLLoader getFXMLLoader() {
46+
ResourceBundle resourceBundle = ResourceBundle.getBundle("locale.DecompilerWxApkgTool");
47+
URL url = Object.class.getResource("/com/xwintop/xJavaFxTool/fxmlView/assistTools/DecompilerWxApkgTool.fxml");
48+
FXMLLoader fXMLLoader = new FXMLLoader(url, resourceBundle);
49+
return fXMLLoader;
50+
}
51+
}

0 commit comments

Comments
 (0)