-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Anthony Balkissoon wrote:
> Only the no-argument constructor is a "demo" constructor (this seems
> like a ridiculous idea in the first place, who would want this?) so it
> creates a JButton as the left component and a JButton as the right
> component.
:)
I am sure this has something to do with "beanness". Part of every JavaBean
compliant class is a public zero-arg constructor.

Netbean's GUI editor makes use of this. Maybe the two buttons make the
JSplitPane more visible when you create it freshly and want to click somewhere
in order to change the left & right component.

cu
Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDfCblG9cfwmwwEtoRAp4iAKCN31opFz1mPi31OvMiAYxLfEtL9gCePKw5
8W0AcscBsRVQVZYGEFfRB2A=
=Q/aF
-----END PGP SIGNATURE-----


_______________________________________________
Classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to