|
|
|
@ -4,6 +4,7 @@ import cn.hutool.core.collection.BoundedPriorityQueue;
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import javafx.application.Platform;
|
|
|
|
|
import javafx.fxml.FXML;
|
|
|
|
|
import javafx.fxml.Initializable;
|
|
|
|
|
import javafx.scene.control.Button;
|
|
|
|
|
import javafx.scene.control.TextArea;
|
|
|
|
|
import javafx.scene.image.Image;
|
|
|
|
@ -15,8 +16,11 @@ import xyz.wbsite.jmacro.tool.PickLegend;
|
|
|
|
|
import xyz.wbsite.jmacro.tool.PickPoint;
|
|
|
|
|
import xyz.wbsite.jmacro.tool.PickRect;
|
|
|
|
|
import xyz.wbsite.jmacro.util.DialogUtil;
|
|
|
|
|
import xyz.wbsite.jmacro.util.Logger;
|
|
|
|
|
|
|
|
|
|
import java.awt.*;
|
|
|
|
|
import java.net.URL;
|
|
|
|
|
import java.util.ResourceBundle;
|
|
|
|
|
import java.util.concurrent.Semaphore;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -26,7 +30,7 @@ import java.util.concurrent.Semaphore;
|
|
|
|
|
* @version 0.0.1
|
|
|
|
|
* @since 1.8
|
|
|
|
|
*/
|
|
|
|
|
public class JMainController {
|
|
|
|
|
public class JMainController implements Initializable {
|
|
|
|
|
|
|
|
|
|
@FXML
|
|
|
|
|
private Button start;
|
|
|
|
@ -44,6 +48,12 @@ public class JMainController {
|
|
|
|
|
|
|
|
|
|
private Semaphore semaphore = new Semaphore(1);
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void initialize(URL location, ResourceBundle resources) {
|
|
|
|
|
// 控件初始化
|
|
|
|
|
Logger.info("控件初始化完成");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 采点
|
|
|
|
|
*/
|
|
|
|
|