diff -r 9ec9d0a07e28 javafx-fxml/src/javafx/fxml/JavaFXBuilderFactory.java --- a/javafx-fxml/src/javafx/fxml/JavaFXBuilderFactory.java Fri Aug 19 10:19:08 2011 -0700 +++ b/javafx-fxml/src/javafx/fxml/JavaFXBuilderFactory.java Fri Aug 19 21:09:51 2011 -0700 @@ -197,7 +197,7 @@ @Override public Object get(Object key) { - throw new UnsupportedOperationException("Not supported yet."); + return getTemporaryContainer(key.toString()); } @Override @@ -368,6 +368,11 @@ } private Method findMethod(String name) { + if (name.length() > 1 + && Character.isUpperCase(name.charAt(1))) { + name = Character.toUpperCase(name.charAt(0)) + name.substring(1); + } + for (Method m : builderClass.getMethods()) { if (m.getName().equals(name)) { return m; diff -r 9ec9d0a07e28 javafx-ui-charts/src/javafx/scene/chart/XYChart.java --- a/javafx-ui-charts/src/javafx/scene/chart/XYChart.java Fri Aug 19 10:19:08 2011 -0700 +++ b/javafx-ui-charts/src/javafx/scene/chart/XYChart.java Fri Aug 19 21:09:51 2011 -0700 @@ -1071,7 +1071,11 @@ } }; public final X getXValue() { return xValue.get(); } - public final void setXValue(X value) { xValue.set(value); } + public final void setXValue(X value) { + xValue.set(value); + // handle the case where this is a init because the default constructor was used + if (currentX.get() == null) currentX.setValue(value); + } public final ObjectProperty xValueProperty() { return xValue; } /** The generic data value to be plotted on the Y axis */ @@ -1100,7 +1104,11 @@ } }; public final Y getYValue() { return yValue.get(); } - public final void setYValue(Y value) { yValue.set(value); } + public final void setYValue(Y value) { + yValue.set(value); + // handle the case where this is a init because the default constructor was used + if (currentY.get() == null) currentY.setValue(value); + } public final ObjectProperty yValueProperty() { return yValue; } /** @@ -1185,6 +1193,8 @@ // -------------- CONSTRUCTOR ------------------------------------------------- + public Data() {} + public Data(X xValue, Y yValue) { setXValue(xValue); setYValue(yValue);