Guest User

Untitled

a guest
Jul 17th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public void blind() {
  2. result = textIn.getText();
  3. String[] textBlind = result.split("n");
  4. String[] textSpace = {""};
  5.  
  6. for (int i = 0; i < textBlind.length; i++) {
  7. result = result.replaceAll(textBlind[i], textSpace[0]);
  8. textIn.setText(result);
  9. try {
  10. Thread.sleep(1000);
  11. } catch (InterruptedException e) {
  12. e.printStackTrace();
  13. }
  14. }
  15. }
Add Comment
Please, Sign In to add comment