Message-ID: <1868879436.107.1411207568819.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_106_123923397.1411207568819" ------=_Part_106_123923397.1411207568819 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.