[rfc][icedtea-web] AppTrustWarningPanel applet title, controls

Andrew Azores aazores at redhat.com
Mon Mar 3 14:04:44 PST 2014


This patch adds a label to AppTrustWarningPanel displaying 
applet/application titles, makes it so that the action performed by the 
Help button can be overridden easily, and finally makes it so that 
subclasses can easily add (or remove or reorder) the buttons in the 
button panel. This is particularly useful for the next related patch 
coming after this, which will be the new PartiallySigned Dialog, with 
Sandbox button.

* netx/net/sourceforge/jnlp/resources/Messages.properties: 
(SAppletTitle) new
* netx/net/sourceforge/jnlp/security/AppTrustWarningPanel.java: 
(buttons) new
list of UI buttons. (getAllowButton, getRejectButton, addComponents) 
made final.
(createButtonPanel) uses list of buttons rather than hardcoded. (helpButton)
action made configurable.


Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: partially-signed-abstraction-touchup.patch
Type: text/x-patch
Size: 6893 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140303/8dcb0bd4/partially-signed-abstraction-touchup.patch 

More information about the distro-pkg-dev mailing list