添加作者信息
parent
5a67816074
commit
5dbaf82835
|
|
@ -5,6 +5,11 @@ import javafx.application.Application;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : 芊芊墨客
|
||||||
|
* @version : 1.0
|
||||||
|
* @date : 2023-02-16 09:19
|
||||||
|
*/
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class JavaFxToolsApplication {
|
public class JavaFxToolsApplication {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,11 @@ import java.io.IOException;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : 芊芊墨客
|
||||||
|
* @version : 1.0
|
||||||
|
* @date : 2023-02-16 09:19
|
||||||
|
*/
|
||||||
public class HomeController implements Serializable {
|
public class HomeController implements Serializable {
|
||||||
|
|
||||||
private SimpleObjectProperty<ResourcesUtils.Menu> menus = new SimpleObjectProperty<>();
|
private SimpleObjectProperty<ResourcesUtils.Menu> menus = new SimpleObjectProperty<>();
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,11 @@ import javafx.fxml.FXML;
|
||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
import javafx.stage.Modality;
|
import javafx.stage.Modality;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : 芊芊墨客
|
||||||
|
* @version : 1.0
|
||||||
|
* @date : 2023-02-16 09:19
|
||||||
|
*/
|
||||||
public class Md5Controller {
|
public class Md5Controller {
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
|
@ -23,7 +28,7 @@ public class Md5Controller {
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
button.setOnAction(event -> {
|
button.setOnAction(event -> {
|
||||||
String text = text_filed.getText();
|
String text = text_filed.getText();
|
||||||
if (text.length() == 0){
|
if (text.length() == 0) {
|
||||||
alert();
|
alert();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -32,7 +37,7 @@ public class Md5Controller {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void alert(){
|
private void alert() {
|
||||||
Alert alert = new Alert(Alert.AlertType.WARNING);
|
Alert alert = new Alert(Alert.AlertType.WARNING);
|
||||||
alert.initModality(Modality.APPLICATION_MODAL);
|
alert.initModality(Modality.APPLICATION_MODAL);
|
||||||
alert.setContentText("请输入将要加密的字符!");
|
alert.setContentText("请输入将要加密的字符!");
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,11 @@ import javafx.scene.control.TextArea;
|
||||||
import javafx.scene.control.TextField;
|
import javafx.scene.control.TextField;
|
||||||
import javafx.stage.Modality;
|
import javafx.stage.Modality;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : 芊芊墨客
|
||||||
|
* @version : 1.0
|
||||||
|
* @date : 2023-02-16 09:19
|
||||||
|
*/
|
||||||
public class SpringSecurityController {
|
public class SpringSecurityController {
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,11 @@ import javafx.fxml.FXML;
|
||||||
import javafx.scene.control.ComboBox;
|
import javafx.scene.control.ComboBox;
|
||||||
import javafx.util.StringConverter;
|
import javafx.util.StringConverter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : 芊芊墨客
|
||||||
|
* @version : 1.0
|
||||||
|
* @date : 2023-02-16 09:19
|
||||||
|
*/
|
||||||
public class VipParserController {
|
public class VipParserController {
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,11 @@ package com.zhangmeng.tools.utils;
|
||||||
import cn.hutool.crypto.digest.DigestUtil;
|
import cn.hutool.crypto.digest.DigestUtil;
|
||||||
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : 芊芊墨客
|
||||||
|
* @version : 1.0
|
||||||
|
* @date : 2023-02-16 09:19
|
||||||
|
*/
|
||||||
public class EncryptUtils {
|
public class EncryptUtils {
|
||||||
|
|
||||||
public static String md5(String text){
|
public static String md5(String text){
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,11 @@ package com.zhangmeng.tools.utils;
|
||||||
|
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : 芊芊墨客
|
||||||
|
* @version : 1.0
|
||||||
|
* @date : 2023-02-16 09:19
|
||||||
|
*/
|
||||||
public class ResourcesUtils {
|
public class ResourcesUtils {
|
||||||
|
|
||||||
public static final String base_fxml = "/fxml/";
|
public static final String base_fxml = "/fxml/";
|
||||||
|
|
@ -41,4 +46,6 @@ public class ResourcesUtils {
|
||||||
private int index;
|
private int index;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,11 @@ import javafx.scene.Scene;
|
||||||
import javafx.scene.layout.AnchorPane;
|
import javafx.scene.layout.AnchorPane;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : 芊芊墨客
|
||||||
|
* @version : 1.0
|
||||||
|
* @date : 2023-02-16 09:19
|
||||||
|
*/
|
||||||
public class HomeView extends Application {
|
public class HomeView extends Application {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue