}
positionDividers();
}
private void chooseSmiley_actionPerformed(final ActionEvent e) {
final SmileyChooserDialog dlg = new SmileyChooserDialog(this);
final int x = this.getX() + BchooseSmiley.getX();
final int y = this.getY() + BchooseSmiley.getY();
String chosedSmileyText = dlg.startDialog(x, y);
if( chosedSmileyText != null && chosedSmileyText.length() > 0 ) {
chosedSmileyText += " ";
// paste into document
try {
final Caret caret = messageTextArea.getCaret();