Ok so I am working with a progress bar and I have got it to work no problem. Super! The problem though is that after I start the program that uses the progress bar, the rest of the elements freeze. Like the menu bar, if I minimize the applet as it runs the file upload then restore it the menu bar will be transparent kinda as it will not be the menu bar anymore but what was behind it (like when a program freezes and you try to maximize it again or something). Everything goes back to normal when the program finishes the main loop.
I was wondering how I could make this menu stay visible at all times without it going into freeze mode. Here is the relative code:
Run your upload loop in a different thread because right now it is in your ui-dispatch-thread.. And as you can see it keeps your application from repainting itself etc...
yes, that is what progress_bar is, a JProgressBar. But I am using the paintImmidiatly() stuff because the event listener everything is too much for me right now. Maybe tomorrow.
Multi-threading and all of that, could you give me an example of how I could run this in another thread. I don't really understand and the online stuff is going over my head.
I never used to like the Java documentation but now I do and I think the only reason I didn't like it before was because it felt a bit unfamiliar after being so deep in PHP for so long. I do wish they'd make it easier to search from any one page to the next though; unless I'm missing something you have to go back to the search page to start a new search. User comments would be good too for obvious reaons