添加作者信息
parent
5a67816074
commit
5dbaf82835
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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<>();
|
||||
|
|
|
|||
|
|
@ -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("请输入将要加密的字符!");
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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){
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue