| gp1.add(lfrom1, 0, 0);
gp1.add(dpfrom1, 1, 0);
gp1.add(lto1, 0, 1);
gp1.add(dpto1, 1, 1);
Button btngenerate2 = new Button("Generate report");
btngenerate2.setOnAction(new CountryStatEventHandler(connect));
box.getChildren().addAll(lbusy, btngenerate, llang, gp, btngenerate1,
lcountry, gp1, btngenerate2);
return box;
|