/** Sets the label beneath the canvas */ public void setCurveLabel() { String s; if (points == null) { s = Messages.getString("ECView.NoCurve"); // $NON-NLS-1$ } else s = curve.toString(); lblCurve.setText(s); }