classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: JSplitPane patch fixes PR 24904


From: Robert Schuster
Subject: Re: [cp-patches] Patch: JSplitPane patch fixes PR 24904
Date: Thu, 17 Nov 2005 07:44:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.12) Gecko/20051005

-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]