The program I have visualizes a physics simulation (basically).Right now, it works, but can get very unresponsive, and I think I know why - too much (read:all) computation is done on the event thread.
I\'m developing an applet that makes some work and then a redirection to an URL when user clicks on a button. I\'m using a SwingWorker to prevent GUI gets locked up.
I am using an API in a Java library which is called from the event dispatch thread and requires me to return a fully-initialized UI component.It looks like this:
I am trying to load all types of files (like Microsoft Notepad). The SwingWorker I have can load normal text just fine but when a file such as mp3, pdf, etc. is attempted to be loaded I receive a Null
I had posted a question in regards to this code. I found that JTextArea does not support the binary type data that is loaded.