The moment that a string of text appears on your screen, it is passed through between many different functions (and even pieces of hardware, with textures being stored on the GPU VRAM) and has unencrypted copies laying all around in memory as the application is running.
Any part of the space in which these copies exist being compromised will mean that your encryption is useless in the end.