From 6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 Mon Sep 17 00:00:00 2001
From: Deepak Bhole <dbhole@redhat.com>
Date: Mon, 6 Dec 2010 15:34:01 -0500
Subject: Fixed indentation and spacing for all .java files.

Added a new .settings directory which contains Eclipse
preferences for code style.
---
 .../jnlp/security/NotAllSignedWarningPane.java     | 107 ++++++++++-----------
 1 file changed, 53 insertions(+), 54 deletions(-)

(limited to 'netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java')

diff --git a/netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java b/netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java
index 6e5b56f..8d2919c 100644
--- a/netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java
+++ b/netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java
@@ -55,64 +55,63 @@ import javax.swing.SwingConstants;
 
 import net.sourceforge.jnlp.JNLPFile;
 
-
 public class NotAllSignedWarningPane extends SecurityDialogPanel {
 
-        public NotAllSignedWarningPane(SecurityWarningDialog x) {
-                super(x);
-                addComponents();
-        }
+    public NotAllSignedWarningPane(SecurityWarningDialog x) {
+        super(x);
+        addComponents();
+    }
 
-        /**
-         * Creates the actual GUI components, and adds it to this panel
-         */
-        private void addComponents() {
-                JNLPFile file = parent.getFile();
+    /**
+     * Creates the actual GUI components, and adds it to this panel
+     */
+    private void addComponents() {
+        JNLPFile file = parent.getFile();
 
-                String topLabelText = R("SNotAllSignedSummary");
-                String infoLabelText = R("SNotAllSignedDetail");
-                String questionLabelText = R("SNotAllSignedQuestion");
+        String topLabelText = R("SNotAllSignedSummary");
+        String infoLabelText = R("SNotAllSignedDetail");
+        String questionLabelText = R("SNotAllSignedQuestion");
 
-                ImageIcon icon = new ImageIcon((new sun.misc.Launcher()).getClassLoader().getResource("net/sourceforge/jnlp/resources/warning.png"));
-                JLabel topLabel = new JLabel(htmlWrap(topLabelText), icon, SwingConstants.LEFT);
-                topLabel.setFont(new Font(topLabel.getFont().toString(),
+        ImageIcon icon = new ImageIcon((new sun.misc.Launcher()).getClassLoader().getResource("net/sourceforge/jnlp/resources/warning.png"));
+        JLabel topLabel = new JLabel(htmlWrap(topLabelText), icon, SwingConstants.LEFT);
+        topLabel.setFont(new Font(topLabel.getFont().toString(),
                         Font.BOLD, 12));
-                JPanel topPanel = new JPanel(new BorderLayout());
-                topPanel.setBackground(Color.WHITE);
-                topPanel.add(topLabel, BorderLayout.CENTER);
-                topPanel.setPreferredSize(new Dimension(500,80));
-                topPanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
-
-                JLabel infoLabel = new JLabel(htmlWrap(infoLabelText));
-                JPanel infoPanel = new JPanel(new BorderLayout());
-                infoPanel.add(infoLabel, BorderLayout.CENTER);
-                infoPanel.setPreferredSize(new Dimension(500,100));
-                infoPanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
-
-                JLabel questionLabel = new JLabel(htmlWrap(questionLabelText));
-                JPanel questionPanel = new JPanel(new BorderLayout());
-                questionPanel.add(questionLabel, BorderLayout.CENTER);
-                questionPanel.setPreferredSize(new Dimension(500,100));
-                questionPanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
-
-                //run and cancel buttons
-                JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
-
-                JButton run = new JButton(R("ButProceed"));
-                JButton cancel = new JButton(R("ButCancel"));
-                run.addActionListener(createSetValueListener(parent,0));
-                cancel.addActionListener(createSetValueListener(parent, 1));
-                initialFocusComponent = cancel;
-                buttonPanel.add(run);
-                buttonPanel.add(cancel);
-                buttonPanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
-
-                //all of the above
-                setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
-                add(topPanel);
-                add(infoPanel);
-                add(questionPanel);
-                add(buttonPanel);
-
-        }
+        JPanel topPanel = new JPanel(new BorderLayout());
+        topPanel.setBackground(Color.WHITE);
+        topPanel.add(topLabel, BorderLayout.CENTER);
+        topPanel.setPreferredSize(new Dimension(500, 80));
+        topPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
+
+        JLabel infoLabel = new JLabel(htmlWrap(infoLabelText));
+        JPanel infoPanel = new JPanel(new BorderLayout());
+        infoPanel.add(infoLabel, BorderLayout.CENTER);
+        infoPanel.setPreferredSize(new Dimension(500, 100));
+        infoPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
+
+        JLabel questionLabel = new JLabel(htmlWrap(questionLabelText));
+        JPanel questionPanel = new JPanel(new BorderLayout());
+        questionPanel.add(questionLabel, BorderLayout.CENTER);
+        questionPanel.setPreferredSize(new Dimension(500, 100));
+        questionPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
+
+        //run and cancel buttons
+        JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
+
+        JButton run = new JButton(R("ButProceed"));
+        JButton cancel = new JButton(R("ButCancel"));
+        run.addActionListener(createSetValueListener(parent, 0));
+        cancel.addActionListener(createSetValueListener(parent, 1));
+        initialFocusComponent = cancel;
+        buttonPanel.add(run);
+        buttonPanel.add(cancel);
+        buttonPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
+
+        //all of the above
+        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
+        add(topPanel);
+        add(infoPanel);
+        add(questionPanel);
+        add(buttonPanel);
+
+    }
 }
-- 
cgit v1.2.3