final String showInputMessage(String message,String initialValue){
  if (initialValue == null)   return JOptionPane.showInputDialog(getParentComponent(),message);
 else   return JOptionPane.showInputDialog(getParentComponent(),message,initialValue);
}

final String showInputMessage ( String message , String initialValue ) { if ( initialValue == null ) return JOptionPane . showInputDialog ( getParentComponent ( ) , message ) ; else return JOptionPane . showInputDialog ( getParentComponent ( ) , message , initialValue ) ; }
display a standardly formatted question message with the specified string and optionally an inital input value .
