View Single Post
  #2 (permalink)  
Old 07-31-2007, 12:12 PM
hardwired hardwired is offline
Senior Member
 
Join Date: Jul 2007
Posts: 1,222
hardwired is on a distinguished road
One way is to send a default value on to the next constructor, viz, the constructor with the next higher number of arguments.
Code:
public EmailFrame() { this(null); } public EmailFrame(String windowTitle) { // SETS UP THE UI HERE + THE CODE FOR THE TITLE }
Reply With Quote