[rfc][icedtea-web] presort messages by copy all naturally

Jiri Vanek jvanek at redhat.com
Fri Jan 3 01:49:10 PST 2014

The copy all will be probably most used button in console for user  providing stdout/err for bugging 
purposes. So it should behave naturally, and so sort plugin/java messages as they were generated (by 
date) not how arriveds (as plugin messages may be delayde when flowing from plugin to java)


netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: added (sortCopyAll) checkbox. Logic 
from  (copyPlainActionPerformed) and (copyRichActionPerformed)  extracted to  new (fillClipBoard) 
which also used correct call of  ConsoleOutputPaneModel.importList  based on  (sortCopyAll) value.
netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java: added abstraction for 
(importList)  to alow sorting via parameter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: presortMessagesNaturallyInCopyAll.patch
Type: text/x-patch
Size: 6066 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140103/1e0d489e/presortMessagesNaturallyInCopyAll.patch 

More information about the distro-pkg-dev mailing list