我在 Java 8u40 中测试了进度指示器。当我尝试制作简单的示例时,我得到了这个视觉结果。你知道如何删除矩形边框吗?
这对我有用,没有边框或其他问题(JDK 1.8.0_20ea):
stage.setWidth(100);
stage.setHeight(100);
BorderPane root = new BorderPane();
ProgressIndicator progress = new ProgressIndicator();
progress.setMaxWidth(50);
progress.setMaxHeight(50);
root.setCenter(progress);
stage.setScene(new Scene(root));
stage.show();
这可能是 8u40 中的一个错误吗?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)