1
나는 probelems가없는 ints 및 longs와의 바인딩을 완료했습니다. 난 그냥 BasicComponentFactory.createIntegerField 또는 LongField를 사용합니다. 부유물이나 복식에는 그런 것이 없습니다. 이러한 프리미티브를 묶는 방법이 있습니까?JGoodies와 float 또는 double을 바인딩하는 방법
나는 probelems가없는 ints 및 longs와의 바인딩을 완료했습니다. 난 그냥 BasicComponentFactory.createIntegerField 또는 LongField를 사용합니다. 부유물이나 복식에는 그런 것이 없습니다. 이러한 프리미티브를 묶는 방법이 있습니까?JGoodies와 float 또는 double을 바인딩하는 방법
ValueModel valueModelxField = adapter.getBufferedModel("x");
xJTextField = BasicComponentFactory.createFormattedTextField(valueModelxField, new DecimalFormat("0.#####"));
이것이 작동하는 방식입니다.