File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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

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

Ulf Dittmer

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

Joined: Sep 28, 2004
Posts: 20380

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.


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

Joined: Oct 13, 2005
Posts: 45429
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

I agree. Here's the link:
subject: What is/the point of, a secure thread?
It's not a secret anymore!