paned window which reads the .txt file