Exemple #1
0
 /**
  * Form title modification depending on the presence of a target
  *
  * @param target the string containing the target, ou <I>null</I> if nothing
  */
 protected void setTitre(String target) {
   String s = null;
   s =
       (target == null)
           ? DEFAULT_TITRE
           : "Click directly on the SUBMIT button to retrieve all VizieR catalogs around "
               + target
               + "\n"
               + " or include constraints below to reduce the number of matching catalogs.";
   if (s != null) titre.setText(s);
   else titre.setText("probleme");
 }
Exemple #2
0
 /**
  * Set label
  *
  * @param label
  */
 public void setLabel(String label) {
   titre.setText(label);
 }