Message-ID: <2074074062.91781.1397847543585.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_91780_1724038998.1397847543584" ------=_Part_91780_1724038998.1397847543584 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Since the SwingXBuilder subclasses the SwingBuilder, the same op= erations apply to the SwingXBuilder.=20
This has actually been around for a while but I only spoke about it to m=
y mentors and not you guys.
Sometimes attribute names are a bit long = to type. In this example pulled from one of the unit tests, we can see how = to add an alias for any property on a component. During builder parsing, th= e names are changed to their explicit forms.
Before you ask, I did play around a bit with the idea of aliasing the co= mponent names but that was a bit cumbersome.=20
NOTE: Be careful when aliasing properties, making sure the alias doesn't= already exist as a property name. For example, foreground and foregroundPa= inter exist for some components.