src/java.desktop/share/classes/java/awt/TextComponent.java
Print this page
*** 950,960 ****
public Rectangle getCharacterBounds(int i) {
return null;
}
/**
! * Returns the number of characters (valid indicies)
*
* @return the number of characters >= 0
*/
public int getCharCount() {
return TextComponent.this.getText().length();
--- 950,960 ----
public Rectangle getCharacterBounds(int i) {
return null;
}
/**
! * Returns the number of characters (valid indices)
*
* @return the number of characters >= 0
*/
public int getCharCount() {
return TextComponent.this.getText().length();