X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FPDBViewer.java;h=eb214ac3d855d603fd49a7ba730eeed6625e16b8;hb=e1cd94839128776e14e51ded3f3be2dcc7e72273;hp=d2cfc32a5f6c3452151dd0cdbc12656b9fe158b0;hpb=8d2724b83aca38ef75d68787cc5939d950467e63;p=jalview.git diff --git a/src/MCview/PDBViewer.java b/src/MCview/PDBViewer.java index d2cfc32..eb214ac 100755 --- a/src/MCview/PDBViewer.java +++ b/src/MCview/PDBViewer.java @@ -1,19 +1,21 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1) + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) * Copyright (C) 2014 The Jalview Authors * * This file is part of Jalview. * * 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 MCview; @@ -293,7 +295,8 @@ public class PDBViewer extends JInternalFrame implements Runnable } }); viewMenu.setText(MessageManager.getString("action.view")); - background.setText(MessageManager.getString("label.background_colour") + "..."); + background.setText(MessageManager.getString("label.background_colour") + + "..."); background.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) @@ -363,8 +366,10 @@ public class PDBViewer extends JInternalFrame implements Runnable int option = JOptionPane.showInternalConfirmDialog( jalview.gui.Desktop.desktop, - MessageManager.getString("label.remove_from_default_list"), - MessageManager.getString("label.remove_user_defined_colour"), + MessageManager + .getString("label.remove_from_default_list"), + MessageManager + .getString("label.remove_user_defined_colour"), JOptionPane.YES_NO_OPTION); if (option == JOptionPane.YES_OPTION) { @@ -565,7 +570,9 @@ public class PDBViewer extends JInternalFrame implements Runnable try { cap.setText(pdbcanvas.mappingDetails.toString()); - Desktop.addInternalFrame(cap, MessageManager.getString("label.pdb_sequence_mapping"), 550, 600); + Desktop.addInternalFrame(cap, + MessageManager.getString("label.pdb_sequence_mapping"), 550, + 600); } catch (OutOfMemoryError oom) { new OOMWarning("Opening sequence to structure mapping report", oom); @@ -628,7 +635,8 @@ public class PDBViewer extends JInternalFrame implements Runnable public void user_actionPerformed(ActionEvent e) { - if (e.getActionCommand().equals(MessageManager.getString("action.user_defined"))) + if (e.getActionCommand().equals( + MessageManager.getString("action.user_defined"))) { // new UserDefinedColours(pdbcanvas, null); } @@ -646,7 +654,8 @@ public class PDBViewer extends JInternalFrame implements Runnable public void background_actionPerformed(ActionEvent e) { java.awt.Color col = JColorChooser.showDialog(this, - MessageManager.getString("label.select_backgroud_colour"), pdbcanvas.backgroundColour); + MessageManager.getString("label.select_backgroud_colour"), + pdbcanvas.backgroundColour); if (col != null) {