I have a Dialog and a TextArea. The TextArea component has an alignment set to Component.CENTER. I created a method named affiche() which displ开发者_如何学JAVAays the Dialog :