Re: SteppedComboBox problem
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Mon, 31 Oct 2005 09:18:13 GMT
On Sat, 29 Oct 2005 01:09:50 -0400, hilz <now@xxxxx> wrote, quoted or
indirectly quoted someone who said :
>If i change this method
>
> public void show() {
> ....
>
>to
>
> public void setVisible(boolean isVisible){
> if(!false==isVisible){
> super.hide();
> return;
> }
> ....
Why would you override setVisible? Leave it alone!
if (!false == isVisible) is one heck of a roundabout way of saying
if ( isVisible )
The return is not likely needed.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- Follow-Ups:
- Re: SteppedComboBox problem
- From: hilz
- Re: SteppedComboBox problem
- References:
- SteppedComboBox problem
- From: hilz
- SteppedComboBox problem
- Prev by Date: Re: JDK 1.5.0_05 won't load applets from the Internet?
- Next by Date: Re: JDK 1.5.0_05 won't load applets from the Internet?
- Previous by thread: Re: SteppedComboBox problem
- Next by thread: Re: SteppedComboBox problem
- Index(es):
Relevant Pages
|