/hg/icedtea-web: Clean-up generated code.
adomurad at icedtea.classpath.org
adomurad at icedtea.classpath.org
Fri Apr 12 07:20:55 PDT 2013
changeset bd86740a226d in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=bd86740a226d
author: Adam Domurad <adomurad at redhat.com>
date: Fri Apr 12 10:04:36 2013 -0400
Clean-up generated code.
diffstat:
ChangeLog | 5 +
netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java | 38 ++++-----
2 files changed, 23 insertions(+), 20 deletions(-)
diffs (102 lines):
diff -r 234f159f8b4b -r bd86740a226d ChangeLog
--- a/ChangeLog Fri Apr 12 09:49:28 2013 -0400
+++ b/ChangeLog Fri Apr 12 10:04:36 2013 -0400
@@ -1,3 +1,8 @@
+2013-04-12 Adam Domurad <adomurad at redhat.com>
+
+ * netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java:
+ Clean-up generated code.
+
2013-04-12 Adam Domurad <adomurad at redhat.com>
Present more information in unsigned applet confirmation.
diff -r 234f159f8b4b -r bd86740a226d netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java
--- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java Fri Apr 12 09:49:28 2013 -0400
+++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java Fri Apr 12 10:04:36 2013 -0400
@@ -84,7 +84,7 @@
private void initComponents() {
- jScrollPane1 = new javax.swing.JScrollPane();
+ scrollPane = new javax.swing.JScrollPane();
mainHtmlPane = new javax.swing.JEditorPane();
mainPanel = new javax.swing.JPanel();
niceSeparator = new javax.swing.JSeparator();
@@ -97,23 +97,23 @@
getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.Y_AXIS));
mainHtmlPane.setContentType("text/html");
mainHtmlPane.setEditable(false);
- jScrollPane1.setViewportView(mainHtmlPane);
- getContentPane().add(jScrollPane1);
- javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(mainPanel);
- mainPanel.setLayout(jPanel4Layout);
- jPanel4Layout.setHorizontalGroup(
- jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ scrollPane.setViewportView(mainHtmlPane);
+ getContentPane().add(scrollPane);
+ javax.swing.GroupLayout mainLayout = new javax.swing.GroupLayout(mainPanel);
+ mainPanel.setLayout(mainLayout);
+ mainLayout.setHorizontalGroup(
+ mainLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 485, Short.MAX_VALUE)
- .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(jPanel4Layout.createSequentialGroup()
+ .addGroup(mainLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(mainLayout.createSequentialGroup()
.addGap(0, 217, Short.MAX_VALUE)
.addComponent(niceSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 218, Short.MAX_VALUE))));
- jPanel4Layout.setVerticalGroup(
- jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ mainLayout.setVerticalGroup(
+ mainLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 10, Short.MAX_VALUE)
- .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(jPanel4Layout.createSequentialGroup()
+ .addGroup(mainLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(mainLayout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(niceSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE))));
@@ -124,14 +124,14 @@
homeButton.setText(Translator.R("SPLASHHome"));
homeButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
- jButton2ActionPerformed(evt);
+ goToIntroSection(evt);
}
});
navigationPanel.add(homeButton);
homeAndDialogueButton.setText(Translator.R("APPEXTSEChelpHomeDialogue"));
homeAndDialogueButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
- jButton1ActionPerformed(evt);
+ goToDialogueSection(evt);
}
});
closeButton.addActionListener(new java.awt.event.ActionListener() {
@@ -149,14 +149,12 @@
pack();
}
- private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
- // TODO add your handling code here:
+ private void goToIntroSection(java.awt.event.ActionEvent evt) {
mainHtmlPane.setText(Translator.R("APPEXTSEChelp"));
mainHtmlPane.setCaretPosition(1);
}
- private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
- // TODO add your handling code here:
+ private void goToDialogueSection(java.awt.event.ActionEvent evt) {
mainHtmlPane.setText(Translator.R("APPEXTSEChelp"));
mainHtmlPane.scrollToReference("dialogue");
}
@@ -177,6 +175,6 @@
private JPanel navigationPanel;
private JPanel closePanel;
private JPanel mainPanel;
- private JScrollPane jScrollPane1;
+ private JScrollPane scrollPane;
private JSeparator niceSeparator;
}
More information about the distro-pkg-dev
mailing list