添加作者信息

master
zhangmeng 2023-02-16 09:21:09 +08:00
parent 5a67816074
commit 5dbaf82835
8 changed files with 44 additions and 2 deletions

View File

@ -5,6 +5,11 @@ import javafx.application.Application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author :
* @version : 1.0
* @date : 2023-02-16 09:19
*/
@SpringBootApplication
public class JavaFxToolsApplication {

View File

@ -18,6 +18,11 @@ import java.io.IOException;
import java.io.Serializable;
import java.util.Arrays;
/**
* @author :
* @version : 1.0
* @date : 2023-02-16 09:19
*/
public class HomeController implements Serializable {
private SimpleObjectProperty<ResourcesUtils.Menu> menus = new SimpleObjectProperty<>();

View File

@ -5,6 +5,11 @@ import javafx.fxml.FXML;
import javafx.scene.control.*;
import javafx.stage.Modality;
/**
* @author :
* @version : 1.0
* @date : 2023-02-16 09:19
*/
public class Md5Controller {
@FXML
@ -23,7 +28,7 @@ public class Md5Controller {
public void initialize() {
button.setOnAction(event -> {
String text = text_filed.getText();
if (text.length() == 0){
if (text.length() == 0) {
alert();
return;
}
@ -32,7 +37,7 @@ public class Md5Controller {
});
}
private void alert(){
private void alert() {
Alert alert = new Alert(Alert.AlertType.WARNING);
alert.initModality(Modality.APPLICATION_MODAL);
alert.setContentText("请输入将要加密的字符!");

View File

@ -8,6 +8,11 @@ import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.stage.Modality;
/**
* @author :
* @version : 1.0
* @date : 2023-02-16 09:19
*/
public class SpringSecurityController {
@FXML

View File

@ -6,6 +6,11 @@ import javafx.fxml.FXML;
import javafx.scene.control.ComboBox;
import javafx.util.StringConverter;
/**
* @author :
* @version : 1.0
* @date : 2023-02-16 09:19
*/
public class VipParserController {
@FXML

View File

@ -3,6 +3,11 @@ package com.zhangmeng.tools.utils;
import cn.hutool.crypto.digest.DigestUtil;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
/**
* @author :
* @version : 1.0
* @date : 2023-02-16 09:19
*/
public class EncryptUtils {
public static String md5(String text){

View File

@ -2,6 +2,11 @@ package com.zhangmeng.tools.utils;
import java.net.URL;
/**
* @author :
* @version : 1.0
* @date : 2023-02-16 09:19
*/
public class ResourcesUtils {
public static final String base_fxml = "/fxml/";
@ -41,4 +46,6 @@ public class ResourcesUtils {
private int index;
}
public enum
}

View File

@ -7,6 +7,11 @@ import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
/**
* @author :
* @version : 1.0
* @date : 2023-02-16 09:19
*/
public class HomeView extends Application {
@Override