[RFC][Icedtea-web]: removes the need for MiddleClickListener in itw-settings

Andrew Su asu at redhat.com
Fri Dec 17 07:01:25 PST 2010


Hello,

This patch will remove the need for use of MiddleClickListener.java. It instead uses DocumentListener which also refactors the code a bit.

Changelog:

 * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java,
 netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java: Replaced
 key listeners and mouse listeners for text fields with document adapter.
 * netx/net/sourceforge/jnlp/controlpanel/DocumentAdapter.java: New class.
 * netx/net/sourceforge/jnlp/controlpanel/MiddleClickListener.java: Removed.

Questions? Comment? Concerns?

Regards,
  Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20101217_use_document_listener_for_update.patch
Type: text/x-patch
Size: 13028 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101217/ba438417/20101217_use_document_listener_for_update.patch 


More information about the distro-pkg-dev mailing list