🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.language
1 messages
1 total messages Started by Gargoyle Sun, 16 Jul 2006 09:05
Good practise
#207
Author: Gargoyle
Date: Sun, 16 Jul 2006 09:05
14 lines
1506 bytes
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads