HotBoy-java / PotatoTool

这款工具是一款功能强大的网络安全综合工具,旨在为安全从业者、红蓝对抗人员和网络安全爱好者提供全面的网络安全解决方案。它集成了多种实用功能,包括解密、分析、扫描、溯源等,为用户提供了便捷的操作界面和丰富的功能选择。This tool offers robust network security solutions for professionals and enthusiasts. With features like decryption, analysis, scanning, and traceability, it provides a user-friendly interface and diverse functionality.
669 stars 46 forks source link

Java11+工具窗口显示不完整 #10

Closed 0xtlu closed 2 months ago

0xtlu commented 3 months ago

java11 -jar PotatoTool.jar 运行后无法看到完整工具界面,屏幕分辨率为1160*642。 image

应该是屏幕比较垃圾,修改分辨率为1600*1200后重新运行可显示完整,但系统会出现滚动条导致操作麻烦。 image

还发现,运行是会出现告警,我不确定是否和它有关: $ java11 -jar PotatoTool.jar x月 xx, 2024 xxx 下午 com.sun.javafx.application.PlatformImpl startup 警告: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @50b9b473'

经过引入javafx-sdk-11后,不在出现如上告警,但窗口无法完全显示 java11 --module-path ..\jdk-11\javafx-sdk-11\lib --add-modules javafx.controls,javafx.fxml -jar PotatoTool.jar

ljy1058318852 commented 3 months ago

告警是因为非模块化,可忽略。已内置javafx,无需手动添加(除非是mac的M系列,下个版本1.2已兼容)。

屏幕尺寸兼容也将在下个版本1.2完善