[g-a-devel] [PATCH] java-access-bridge: dont throw exceptions when entering text in AWT TextField

2008-12-04 Thread Omair Majid
Hi, When using an AWT TextField to type text in, the property change emitted by the TextField is different from that of a JTextField. In the case of TextField, the newValueObject seen by JavaBridge.dispatchTextProperty is an Integer containing the new position of the caret, not the position at

[g-a-devel] [PATCH] java-access-bridge: handle selecting text and typing over it

2008-12-03 Thread Omair Majid
Hi, I apologise if this is not the correct place for the patch. This is a patch for the java-access-bridge in gnome (http://live.gnome.org/Java%20Access%20Bridge). Using a swing JTextField, if a user selects text and starts typing to replace it, a StringIndexOutOfBoundsException is thrown in