text.setMinimumSize(240, -1);
text.setText(message);
text.setMarginBottom(8);
this.addToContent(text, "1, 0, 3, 0, L, C");
Button cancelButton = new Button(this);
cancelButton.setText("Cancel");
cancelButton.setMarginRight(10);
this.addToContent(cancelButton, "1, 1, R, T");
Button okButton = new Button(this);
okButton.setText(" OK ");
this.addToContent(okButton, "3, 1, R, T");
this.setDefaultItem(okButton);
this.setCancelItem(cancelButton);
}