Article View: borland.public.jbuilder.java.swing
Article #1315Swing Application Hangups (Garbage Collection?)
From: Adrian Pitulac
Date: Sat, 03 Jan 2004 13:32
Date: Sat, 03 Jan 2004 13:32
37 lines
2193 bytes
2193 bytes
Hello, i have a problem with one of my applications which seems to hangup. i have looked with optimizeit on the app and it seems that the garbage collection takes very long time. now let me explain my application arhitecture: it has an login frame which starts first. here you can select one specific application module which will be launched after login. a have an application module which works fine. my problem is that in any module i need to have an option to close that module and open the login frame. my module is also based on a frame. my application hangs after 3-4 cycles of LOGIN -> CLOSE MODULE -> LOGIN ................................ my LOGIN frame initializes the MODULE frame with some code like: frm.pack(); frm.validate(); frame_pos_size.frame_pos_size(frm,true); this.dispose(); my MODULE frame closes itself and initializes LOGIN frame with some code like: ids_login frm = new ids_login(); frm.pack(); frm.validate(); frame_pos_size.frame_pos_size(frm,true); this.dispose(); Please tell me what to try to solve this problem. Did i misunderstood the concept of "disposing" a frame? Thanks very much! Adrian
Technical Details
Message-ID:
<3ff6c464@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,bb0ecc1565cf5dc2,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-01-03 05:39:16 PST Reply-To: "Adrian Pitulac" <apitulac@pcnet.ro> From: "Adrian Pitulac" <apitulac@pcnet.ro> Newsgroups: borland.public.jbuilder.java.swing Subject: Swing Application Hangups (Garbage Collection?) Date: Sat, 3 Jan 2004 15:32:22 +0200 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 213.154.159.186 Message-ID: <3ff6c464@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1073136740 213.154.159.186 (3 Jan 2004 05:32:20 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail