Message-ID: <75242445.4913.1409632807624.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4912_389329322.1409632807623" ------=_Part_4912_389329322.1409632807623 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.