public static void clear(int WindowNo,Container c,String ParseString){
  log.info("Dialog.clear: " + ParseString);
  Properties ctx=Env.getCtx();
  String parse=Env.parseContext(ctx,WindowNo,ParseString,false);
  if (parse.length() == 0)   parse="ERROR parsing: " + ParseString;
  Window parent=Env.getParent(c);
  if (parent == null)   parent=Env.getWindow(WindowNo);
  if (showDialog && parent != null) {
    if (parent instanceof JFrame)     new ADialogDialog((JFrame)parent,Env.getHeader(ctx,WindowNo),"=> " + parse,JOptionPane.INFORMATION_MESSAGE);
 else     new ADialogDialog((JDialog)parent,Env.getHeader(ctx,WindowNo),"=> " + parse,JOptionPane.INFORMATION_MESSAGE);
  }
 else   JOptionPane.showMessageDialog(parent,"=> " + parse + "\n",Env.getHeader(ctx,WindowNo),JOptionPane.INFORMATION_MESSAGE);
}

public static void clear ( int WindowNo , Container c , String ParseString ) { log . info ( "Dialog.clear: " + ParseString ) ; Properties ctx = Env . getCtx ( ) ; String parse = Env . parseContext ( ctx , WindowNo , ParseString , false ) ; if ( parse . length ( ) == 0 ) parse = "ERROR parsing: " + ParseString ; Window parent = Env . getParent ( c ) ; if ( parent == null ) parent = Env . getWindow ( WindowNo ) ; if ( showDialog && parent != null ) { if ( parent instanceof JFrame ) new ADialogDialog ( ( JFrame ) parent , Env . getHeader ( ctx , WindowNo ) , "=> " + parse , JOptionPane . INFORMATION_MESSAGE ) ; else new ADialogDialog ( ( JDialog ) parent , Env . getHeader ( ctx , WindowNo ) , "=> " + parse , JOptionPane . INFORMATION_MESSAGE ) ; } else JOptionPane . showMessageDialog ( parent , "=> " + parse + "\n" , Env . getHeader ( ctx , WindowNo ) , JOptionPane . INFORMATION_MESSAGE ) ; }
display parsed development info message string
