public static void showMessage(Component component, String message) {
		JOptionPane.showMessageDialog(SwingUtilities.getWindowAncestor(component), message,
				UIManager.getString("OptionPane.messageDialogTitle"),
				JOptionPane.INFORMATION_MESSAGE);
	}
public static void showMessage ( Component component , String message ) { JOptionPane . showMessageDialog ( SwingUtilities . getWindowAncestor ( component ) , message , UIManager . getString ( "OptionPane.messageDialogTitle" ) , JOptionPane . INFORMATION_MESSAGE ) ; }
Affiche une boîte de dialogue d'information.
@param component Component
@param message String