aspose file tools*
The moose likes Java in General and the fly likes What is/the point of, a secure thread? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "What is/the point of, a secure thread?" Watch "What is/the point of, a secure thread?" New topic
Author

What is/the point of, a secure thread?

Samuel Woodhams
Ranch Hand

Joined: Sep 01, 2009
Posts: 31
hey javaranch,

i have writen an application that works fine how ever i have noticed that every example that is on the java tutorials has a very specific way of launching the application! it looks like this

this is at least roughly set out! now my problem is that im struggaling to see why you need to do this and if you need to do this im unsure how i can change my excisting main class so it includes those methods!

any help would be much appreciated!
thanks in advance

sam
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42648
    
  65
What do you mean by "those methods" and "a secure thread"?


Ping & DNS - my free Android networking tools app
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 19004
    
  40

Maybe you meant -- event dispatch thread? For which...

I really recommend that you do research on it, and fully understand it, before you code another line of Swing. Swing has some particular thread safe issues, and you really need to understand it, ASAP, to avoid running into those issues.

Henry

Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39885
    
  28
Too difficult a question for "beginning." Moving.
Samuel Woodhams
Ranch Hand

Joined: Sep 01, 2009
Posts: 31
ok to clear up what i was saying!!! yes im taking about the "event dispatch thread" of which i know very little about! i was hoping it was a small problem that i was not understanding however, (after quickly looking at the Sun tutorials on this) it turns out there is a whole load of stuff i didn't know! therefore thank you for pointing this out! im off to go read and hopefully i can get my answers if not im sure i'll come back for more help.

thanks again

sam
 
wood burning stoves
 
subject: What is/the point of, a secure thread?