Hi, Your question is off-topic, because it has nothing to do with the Linux port of Java, but anyway: - when all the non-daemon threads are finished, the JVM exection will end. - probably you expected your application to finish, since you disposed its main Frame. - in fact there is at least one non-daemon thread that is running even after you disposed the Frame, and that is the event dispatch thread - so the solution is to kill somehow the event dispatcher (not recomended), or to call System.exit() to finish you application. Hope this helps. Best regards, Cătălin CLIMOV Anil kumar wrote: > greetings, > > i have a class which has a daemon thread ( setDaemon( true) before > start()). I created an instance of this object in a Frame object. > > My problem is: even after i call dispose() of the Frame object the > threaded object is not grabage collected and it continues running. > > i am using jdk 1.1.5 (soon upgrade to 1.2 :-)) > and RH Linux 5.2 > > any mistake in my approach? how can we solve it? is it not the right place > to answer this question? > > thanks in advance > Anil > > ---------------------------------------------------------------------- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
begin: vcard fn: Cătălin CLIMOV n: CLIMOV;Cătălin org: DeltaSoft adr;quoted-printable:=AAos. Nicolina;;;Iași;Iași;6600;România email;internet: [EMAIL PROTECTED] title: JAVA Programmer tel;work: +40-32-232900 tel;home: +40-92-664323 x-mozilla-cpt: ;0 x-mozilla-html: TRUE version: 2.1 end: vcard