When replying the message is quoted automatically now, so you don't have to push that 'quote' button.

This commit is contained in:
edwin%woudt.nl 1999-02-20 21:03:09 +00:00
Родитель 4257f9225e
Коммит fb24b01b6a
2 изменённых файлов: 14 добавлений и 1 удалений

Просмотреть файл

@ -185,6 +185,10 @@ public class Composition extends GeneralFrame {
mCompositionPanel.setSubject("Re: " + mextra.simplifiedSubject());
} catch (MessagingException e) {
}
// Quote the original text
mCompositionPanel.QuoteOriginalMessage();
}
class PanelListener implements CompositionPanelListener {

Просмотреть файл

@ -175,7 +175,7 @@ public class CompositionPanel extends GeneralPanel {
public void addCompositionPanelListener(CompositionPanelListener l) {
mListeners.add(CompositionPanelListener.class, l);
}
/**
* Remove a CompositionPanelListener
*/
@ -184,6 +184,15 @@ public class CompositionPanel extends GeneralPanel {
mListeners.remove(CompositionPanelListener.class, l);
}
/**
* Quote the orgininal message in a reply
*/
public void QuoteOriginalMessage() {
QuoteOriginalText qot = new QuoteOriginalText();
qot.actionPerformed(new ActionEvent(this,0,""));
}
protected void notifySendingMail() {
Object[] listeners = mListeners.getListenerList();
ChangeEvent changeEvent = null;