Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void blind() {
- result = textIn.getText();
- String[] textBlind = result.split("n");
- String[] textSpace = {""};
- for (int i = 0; i < textBlind.length; i++) {
- result = result.replaceAll(textBlind[i], textSpace[0]);
- textIn.setText(result);
- try {
- Thread.sleep(1000);
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- }
- }
Add Comment
Please, Sign In to add comment