public UploadProgress(Frame f) { super(f);  jbInit();  jLabel[LEVEL_UPLOAD_ONE] = jLabelDetail; jLabel[LEVEL_UPLOAD_PROGRESS] = jLabelGlobal; jProgress[LEVEL_UPLOAD_ONE] = jProgressDetail; jProgress[LEVEL_UPLOAD_PROGRESS] = jProgressGlobal;    try { pack(); } catch (NullPointerException e) { Log.log(Log.LEVEL_ERROR, MODULE, "Wierd VM bug"); Log.logException(Log.LEVEL_ERROR, MODULE, e); setSize(400, 300); }  DialogUtil.center(this, f); setVisible(true);
public UploadProgress() { this(null);
	public UploadProgress(Frame f) {		super(f);		jbInit();		jLabel[LEVEL_UPLOAD_ONE] = jLabelDetail;		jLabel[LEVEL_UPLOAD_PROGRESS] = jLabelGlobal;		jProgress[LEVEL_UPLOAD_ONE] = jProgressDetail;		jProgress[LEVEL_UPLOAD_PROGRESS] = jProgressGlobal;		// wierd bug prevents upload... this happens on some versions of the VM		// apparently 1.4.2_03-b02 Windows.		try {			pack();		} catch (NullPointerException e) {			Log.log(Log.LEVEL_ERROR, MODULE, "Wierd VM bug");			Log.logException(Log.LEVEL_ERROR, MODULE, e);			setSize(400, 300);		}		DialogUtil.center(this, f);		setVisible(true);	}