TextField Document model (original) (raw)
Mark Claassen markclaassenx at gmail.com
Wed Oct 17 10:07:56 PDT 2012
- Previous message: No JavaFX for iOS, Android or WP - why not?
- Next message: TextField Document model
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
JTextComponents (like JTextField) has a javax.swing.text.Document model that made it pretty easy to create a text field that only allowed a certain number of characters in it. Similarly, it was also easy to make a Document model that took all input, but forced characters to upper case.
@Override public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { }
What is there going to be in JavaFX to accomplish the same goals?
Mark
- Previous message: No JavaFX for iOS, Android or WP - why not?
- Next message: TextField Document model
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]