I added the abstract methods to the interface, expecting the implementing classes to generate an error - but they did not.
This is because the classes extend JPanel, which already has the [gs]etToolTipText methods. So adding them to the components will override the JPanel method(), which means that the JPanel ToolTips will no longer be accesssible. I've not looked into it, but surely one might sometimes want to set the Tooltip on the panel rather than on the internal element? If so, I think a new method name is needed. Equally, is it necessary to be able to set the ToolTip on the private part of the panel, rather than just setting it on the JPanel? S. On 19/12/06, Fabian Bieker <[EMAIL PROTECTED]> wrote:
sebb wrote: > What I meant was: should the interface JLabeledField define the > tool-tip methods? yes, that's a good idea. > Might make it easier to write generic code for setting the tool-tips. > > I'll probably add it anyway (no need to update the patch). great. -- Fabian Bieker, QA Netzwert AG, An den Treptowers 1, 12435 Berlin, Germany Voice: +49.30.5900800-0 Fax: +49.30.5900800-700 http://www.netzwert.ag --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
