=?iso-8859-1?Q?VCaf=E9?= 3 layout/palette tip

webmasterbeta

New Member
A quick tip for VisualCaf?3 users: when you create a custom componentclass, like a JPanel extension, and add it to the component palette VCaf?will always remember the component's parameters (location, sizes) at thetime of insertion. If you later update the source code of your componentVCaf? will, after a rebuild all, still se the original parameters forlayout purposes.I lost hours fighting with Visual Caf?3 because of this... I made a JPanelextension that originally had setLocation(50,50) in it's code, which i wasunaware of (autogenerated code). I added the component to the palette andinserted it in another panel by dragging and dropping from the palette.After that all my attempts to move the component seemed to work, until arebuild all was done...Fabio
 
Top