Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » layouts being garbage collected?
layouts being garbage collected? [message #432426] Mon, 22 March 2004 00:18 Go to next message
Eclipse UserFriend
Originally posted by: jim.fastacura.com

Hi,

Has anybody else experienced the problem of Layouts being messed up after
you leave your standalone SWT application alone for some time? I'm guessing
that the GridLayout objects are being garbage collected, and so therefore,
the layout information gets lost after some indeterminate idle period.

Any workarounds?
Thanks!
--Jim
Re: layouts being garbage collected? [message #432436 is a reply to message #432426] Mon, 22 March 2004 12:27 Go to previous message
Eclipse UserFriend
Originally posted by: marcin.NOSPAM.swt-controls.com

Jim Tran wrote:
> Has anybody else experienced the problem of Layouts being messed up
> after you leave your standalone SWT application alone for some time?
> I'm guessing that the GridLayout objects are being garbage collected,
> and so therefore, the layout information gets lost after some
> indeterminate idle period.
I did not have simmilar problem.
What is your swt version? Maybe try to search for simmilar bug in bugzilla.

Your guessing that the objects are garbage collected is IMHO wrong. Java VM
is not so stupid and would not collect any object if its referenced anywhere
and layout objects are referenced...

marcin
Previous Topic:How can I draw lines in Canvas using SWT without using AWT or Swing stuff
Next Topic:eclipse.swt.browser
Goto Forum:
  


Current Time: Thu Mar 28 09:43:34 GMT 2024

Powered by FUDForum. Page generated in 0.03739 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top