我可以在JavaFx中的AnchorPane上绘制圆圈吗?

时间:2018-06-13 15:59:05

标签: java javafx fxml

我试图制作奥赛罗。作为第一步,我想在点击开始按钮时画出4块石头。该代码将连接到Controller代码。

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(
        name = "",
        propOrder = {"from", "displayname", "to", "cc", "bcc", "htmlbody", "plainbody", "subject", "imageurl"}
)
@XmlRootElement(
        name = "SendMail"
)
public class SendMail {
    protected String from;
    protected String displayname;
    protected String to;
    protected String cc;
    protected String bcc;
    protected String htmlbody;
    protected String plainbody;
    protected String subject;
    protected String imageurl;

    public SendMail() {
    }
.
.
.
//getters and setters

}

这是失败的代码。我编写的fxml代码显示了不可更改的部分,但不知道如何在javafx代码上绘制Circle。

0 个答案:

没有答案
相关问题