~ubuntu-branches/ubuntu/natty/icedtea-web/natty-proposed

« back to all changes in this revision

Viewing changes to netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-11-24 13:23:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101124132328-2xb9z39vxga63vr9
Tags: 1.0~20101124-0ubuntu1
* Update to hg 20101124.
* Fix xulrunner dependencies for natty.
* Build-depend on pkg-config and libgtk2.0-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
package net.sourceforge.jnlp.security.viewer;
39
39
 
 
40
import static net.sourceforge.jnlp.runtime.Translator.R;
 
41
 
40
42
import java.awt.BorderLayout;
41
43
import java.awt.Container;
42
44
import java.awt.Dimension;
48
50
import javax.swing.JDialog;
49
51
import javax.swing.UIManager;
50
52
 
 
53
import net.sourceforge.jnlp.runtime.JNLPRuntime;
 
54
 
51
55
public class CertificateViewer extends JDialog {
52
56
 
53
57
    private boolean initialized = false;
54
 
    private static final String dialogTitle = "Certificates";
 
58
    private static final String dialogTitle = R("CVCertificateViewer");
55
59
 
56
60
    CertificatePane panel;
57
61
 
97
101
 
98
102
 
99
103
        public static void showCertificateViewer() throws Exception {
 
104
            JNLPRuntime.initialize(true);
100
105
            setSystemLookAndFeel();
101
106
 
102
107
                CertificateViewer cv = new CertificateViewer();