Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经完成了整数和长整数的绑定,没有任何问题。我只使用 BasicComponentFactory.createIntegerField 或 LongField。花车或双打没有这样的东西。有没有办法绑定这些原语?
ValueModel valueModelxField = adapter.getBufferedModel("x"); xJTextField = BasicComponentFactory.createFormattedTextField(valueModelxField, new DecimalFormat("0.#####"));
这就是我让它工作的方式。