X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FDasSourceBrowser.java;h=779e82f05149888d08f81fe3407b8f2f39104aab;hb=8b70da73fd4073a6e28292d94c1e731878858b66;hp=24e2a1fb6e5f1954466eca8990f9546c02162e14;hpb=a8f483d04205bb8273ee311c12968b7e86d205fa;p=jalview.git
diff --git a/src/jalview/gui/DasSourceBrowser.java b/src/jalview/gui/DasSourceBrowser.java
index 24e2a1f..779e82f 100644
--- a/src/jalview/gui/DasSourceBrowser.java
+++ b/src/jalview/gui/DasSourceBrowser.java
@@ -6,14 +6,16 @@
*
* Jalview is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
*
* Jalview is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with Jalview. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see .
* The Jalview Authors are detailed in the 'AUTHORS' file.
*/
package jalview.gui;
@@ -172,7 +174,9 @@ public class DasSourceBrowser extends GDasSourceBrowser implements
if (nickName == null)
{
- fullDetails.setText(text + MessageManager.getString("label.select_das_service_from_table"));
+ fullDetails.setText(text
+ + MessageManager
+ .getString("label.select_das_service_from_table"));
return;
}
@@ -431,21 +435,26 @@ public class DasSourceBrowser extends GDasSourceBrowser implements
JTextField nametf = new JTextField(nickname, 40);
JTextField urltf = new JTextField(url, 40);
- JCheckBox seqs = new JCheckBox(MessageManager.getString("label.sequence_source"));
+ JCheckBox seqs = new JCheckBox(
+ MessageManager.getString("label.sequence_source"));
seqs.setSelected(seqsrc);
JPanel panel = new JPanel(new BorderLayout());
JPanel pane12 = new JPanel(new BorderLayout());
- pane12.add(new JLabel(MessageManager.getString("label.structure_manager")), BorderLayout.CENTER);
+ pane12.add(
+ new JLabel(MessageManager.getString("label.structure_manager")),
+ BorderLayout.CENTER);
pane12.add(nametf, BorderLayout.EAST);
panel.add(pane12, BorderLayout.NORTH);
pane12 = new JPanel(new BorderLayout());
- pane12.add(new JLabel(MessageManager.getString("label.url")), BorderLayout.NORTH);
+ pane12.add(new JLabel(MessageManager.getString("label.url")),
+ BorderLayout.NORTH);
pane12.add(seqs, BorderLayout.SOUTH);
pane12.add(urltf, BorderLayout.EAST);
panel.add(pane12, BorderLayout.SOUTH);
int reply = JOptionPane.showInternalConfirmDialog(Desktop.desktop,
- panel, MessageManager.getString("label.enter_local_das_source"),
+ panel,
+ MessageManager.getString("label.enter_local_das_source"),
JOptionPane.OK_CANCEL_OPTION);
if (reply != JOptionPane.OK_OPTION)
@@ -517,10 +526,13 @@ public class DasSourceBrowser extends GDasSourceBrowser implements
if (!sourceRegistry.getSource(nickname).isLocal())
{
- JOptionPane.showInternalMessageDialog(Desktop.desktop,
- MessageManager.getString("label.you_can_only_edit_or_remove_local_das_sources"),
- MessageManager.getString("label.public_das_source"),
- JOptionPane.WARNING_MESSAGE);
+ JOptionPane
+ .showInternalMessageDialog(
+ Desktop.desktop,
+ MessageManager
+ .getString("label.you_can_only_edit_or_remove_local_das_sources"),
+ MessageManager.getString("label.public_das_source"),
+ JOptionPane.WARNING_MESSAGE);
return;
}
@@ -729,7 +741,7 @@ public class DasSourceBrowser extends GDasSourceBrowser implements
}
private String[] columnNames = new String[]
- { "Nickname", "Use Source" };
+ { MessageManager.getString("label.nickname"), MessageManager.getString("label.use_source") };
private Object[][] data;