} else if (evt.getSource() == jSizeButton) {
jSizeChooseDialog.setLocation(jSizeButton.getLocationOnScreen().x, jSizeButton.getLocationOnScreen().y);
jSizeChooseDialog.setVisible(true);
} else if (evt.getSource() == jTableButton) {
try {
<BUG>((DefaultStyledDocument) jTextPane1.getDocument()).insertString(jTextPane1.getCaretPosition(), "[table]\n[**]head1[||]head2[/**]\n[*]test1[|]test2\n[/table]", null);
} catch (BadLocationException ble) {</BUG>
}
}
}//GEN-LAST:event_fireAddContentEvent

} else if (evt.getSource() == jSizeButton) {
jSizeChooseDialog.setLocation(jSizeButton.getLocationOnScreen().x, jSizeButton.getLocationOnScreen().y);
jSizeChooseDialog.setVisible(true);
} else if (evt.getSource() == jTableButton) {
try {
jTextPane1.getDocument().insertString(jTextPane1.getCaretPosition(), "[table]\n[**]head1[||]head2[/**]\n[*]test1[|]test2\n[/table]", null);
} catch (BadLocationException ble) {
}
}
}//GEN-LAST:event_fireAddContentEvent
