package Test;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.Initializable;
public class TestController implements Initializable {
@Override
public void initialize(URL url, ResourceBundle rb) {
}
}
我想在这个TestController类中创建构造函数
答案 0 :(得分:1)
我为你创建了一个空的构造函数。
package Test;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.Initializable;
public class TestController implements Initializable {
//Empty Constructor
public TestController()
{
}
@Override
public void initialize(URL url, ResourceBundle rb) {
}
}