=?iso-8859-1?Q?VCaf=E9?= 3 layout/palette tip
A quick tip for VisualCafé 3 users: when you create a custom component
class, like a JPanel extension, and add it to the component palette VCafé3
will always remember the component's parameters (location, sizes) at the
time of insertion. If you later update the source code of your component
VCafé3 will, after a rebuild all, still se the original parameters for
I lost hours fighting with Visual Café 3 because of this... I made a JPanel
extension that originally had setLocation(50,50) in it's code, which i was
unaware of (autogenerated code). I added the component to the palette and
inserted it in another panel by dragging and dropping from the palette.
After that all my attempts to move the component seemed to work, until a
rebuild all was done...
Re: =?iso-8859-1?Q?VCaf=E9?= 3 layout/palette tip
Another related tip: VisualCafé 3 seems to take a "photo" of your custom
component when you drag+ it into another component. This "photo" will not be
updated when you update your custom component unless you close and open your
This just happened with me... I changed a label in my JPanel extension but
VisualCafé 3 still showed the image with the old label when displaying the
JFrame that contained my component. After closing and opening the project, the
image was updated.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL