Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » GridBagConstraints set too late?
GridBagConstraints set too late? [message #31141] Fri, 16 April 2004 20:09 Go to next message
Eclipse UserFriend
Originally posted by: eifertSPAMISFILTERED.web.de

Hi,

I have a problem using GridBagLayout. When I change a constraint in the
bean properties, sometimes the code for this change is inserted *after*
the component is added to a container, e.g.

[...]
jPanel2.add(getImagePreview(), consGridBagConstraints64);
consGridBagConstraints64.weightx = 1.0D;
[...]

Of course this has no effect, because GridBagLayout stores clones of the
constraints. I am using VE Integration build I20040415. Does anyone else
have this problem?

Regards,
Sebastian
Re: GridBagConstraints set too late? [message #31211 is a reply to message #31141] Fri, 16 April 2004 23:28 Go to previous message
Joe Winchester is currently offline Joe WinchesterFriend
Messages: 496
Registered: July 2009
Senior Member
Hi Sebastian,

> I have a problem using GridBagLayout. When I change a constraint in the
> bean properties, sometimes the code for this change is inserted *after*
> the component is added to a container, e.g.

Is there a repeatable test case for which this occurs ? If so can you
please create a bugzilla with as much detail as possible so we can
re-create it and try to provide a fix.

Best regards,

Joe Winchester
Re: GridBagConstraints set too late? [message #586467 is a reply to message #31141] Fri, 16 April 2004 23:28 Go to previous message
Joe Winchester is currently offline Joe WinchesterFriend
Messages: 496
Registered: July 2009
Senior Member
Hi Sebastian,

> I have a problem using GridBagLayout. When I change a constraint in the
> bean properties, sometimes the code for this change is inserted *after*
> the component is added to a container, e.g.

Is there a repeatable test case for which this occurs ? If so can you
please create a bugzilla with as much detail as possible so we can
re-create it and try to provide a fix.

Best regards,

Joe Winchester
Previous Topic:VE load
Next Topic:copy&paste
Goto Forum:
  


Current Time: Thu Apr 25 14:40:04 GMT 2024

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

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

Back to the top