• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is/the point of, a secure thread?

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "those methods" and "a secure thread"?
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Too difficult a question for "beginning." Moving.
 
Samuel Woodhams
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Let me tell you a story about a man named Jed. He made this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic