DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006

    Thread: Everything Depreciated

    Hey everyone. I have a program that I have been struggling with and now Im so close to finishing it I can taste it. Here's the deal I have one thread in my program that is called from the main method. When my program runs the thread immediately starts as it is written. Problem is my program is a slot machine and the thread should not start until the spin button has been pushed. Idealy I think that some sort of stop method should be at the beginning of the thread(so that It doesn't start as soon as the program is started). Then have a start method for the thread in my Listener class for the sin button.
    If this is what I need to do, I don't know how. Everything that I read on threads talks about how to start them. everthing to pause or stop them has been taken out of java.
    Any help will be greatly appreciated.

  2. #2
    Join Date
    Aug 2006
    deprecated doesn't mean that you can't use/ compile it (although it does usually mean its been replaced by something better). If the only support you can get is deprecated on the other hand, a bit of reading of the method in the java api will usually clear things up in the java sun supported way of doing things.

Similar Threads

  1. Replies: 4
    Last Post: 04-27-2006, 07:01 AM
  2. Replies: 2
    Last Post: 05-30-2005, 06:10 AM
  3. Data access with thread
    By Edwin in forum .NET
    Replies: 4
    Last Post: 08-02-2002, 05:11 AM
  4. Replies: 1
    Last Post: 10-29-2000, 04:51 PM
  5. Replies: 2
    Last Post: 10-27-2000, 03:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

By using this site, you agree to the Privacy Policy