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