Article View: borland.public.jbuilder.java.api
Article #1932Programming Threads
From: S�ren Hanisch
Date: Thu, 12 Jul 2001 12:05
Date: Thu, 12 Jul 2001 12:05
12 lines
1258 bytes
1258 bytes
Hi there, how can I interrupt a thread by clicking on a Button and resuming it when clicken another Button. I know, that there is a method "interrupt()" - I guess this will interrupt the thread, but how can I resume it at the same position ? I do also know that the method "resume()" is deprecated. Can anybody tell me how to solve this problem in right way ? Thanks for help Soeren
Technical Details
Message-ID:
<3b4d9294@news.gwi-ag.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.gwi-ag.com!172.25.33.81Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,df9256bde7b56add,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-07-12 05:06:24 PST From: "S�ren Hanisch" <soeren.hanisch@gwi-ag.com> Newsgroups: borland.public.jbuilder.java.api Subject: Programming Threads Date: Thu, 12 Jul 2001 14:05:33 +0200 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 172.25.33.81 X-Original-NNTP-Posting-Host: 172.25.33.81 Message-ID: <3b4d9294@news.gwi-ag.com> X-Trace: 12 Jul 2001 14:05:40 +0100, 172.25.33.81 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.gwi-ag.com!172.25.33.81