Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 22nd, 2005, 07:12 AM
Registered User
 
Join Date: May 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chtiteuf
Default Stop a treatment 30second

Hello, I'm french and I don't find my problem on Ivor Horton java book
I make a windows for my command and before inert my command I must check if my Customer exists and if my product exist (do I must a search in my database)
If the client doesn't exist I call new Client(); but my problem is that my search for my product continue so i can register my new Customer. I wants stop the treatment 30seconds the time I register the customer and after continue my treatment
Thanks

 
Old May 28th, 2005, 02:56 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I /think/ you're asking about Threads. Make your class implement Runnable and have it sleep for 30 seconds to implement the delay.

http://java.sun.com/j2se/1.4.2/docs/...ng/Thread.html

--
Don't Stand on your head - you'll get footprints in your hair
                                           http://charlieharvey.org.uk
                                              http://charlieharvey.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop button won't stop loop JDShaffer Visual Basic 2008 Essentials 3 May 23rd, 2008 03:22 PM
How to know my COM+ stop start vanthq Visual C++ 1 January 17th, 2006 05:37 AM
How to know my COM+ stop start vanthq Pro VB Databases 0 January 6th, 2006 05:19 AM
HTML Treatment 2003 vs 2005 rodmcleay Visual Studio 2005 7 March 22nd, 2005 06:08 AM
Stop Watch Paulsh Access VBA 3 September 22nd, 2004 12:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.