getText
public String getText(int offs,
int len)
throws BadLocationException
Fetches a portion of the text represented by the component. Returns an empty string if length is 0.
Parameters:
offs - the offset >= 0
len - the length >= 0
Returns:
the text
Throws:
BadLocationException - if the offset or length are invalid
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question