Good practise?
- From: Gargoyle <nobody@xxxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 10:13:19 GMT
New to coding in Java.
I have a constructor that sets up a JFrame with panels, buttons, etc. and I
want to disable some of the buttons when the frame first appears.
I will also need to disable selected controls during further processing,
probably using a purpose-built method.
I know how to do this.
Don't want to start a heated debate over this but...
My question: is it acceptable programming practise to invoke my purpose-built
method from within a constructor?
Thanks.
.
- Follow-Ups:
- Re: Good practise?
- From: Rhino
- Re: Good practise?
- Prev by Date: Re: Aside from googling....
- Next by Date: Re: Play .wav music file
- Previous by thread: problem with TreeMap - element removal fails.
- Next by thread: Re: Good practise?
- Index(es):