import javafx.application.Application; 
import javafx.scene.control.Alert; 
import javafx.scene.control.Alert.AlertType; 
import javafx.stage.Stage; 
import javafx.scene.layout.Region;

public class AccentTest extends Application 
{ 
	public static void main( 
			String[] args) 
	{ 
		launch(args); 
	} 

	@Override 
	public void start( 
			Stage primaryStage) throws Exception 
	{ 
		final Alert alert = new Alert(AlertType.INFORMATION, "this is a pretty long message that "
                + "should not be truncated in this alert window, no matter "
                + "how long it is");		
		//alert.getDialogPane().setMinHeight(Region.USE_PREF_SIZE); // workAround
		alert.showAndWait();
	} 
} 
