Skip to content
Snippets Groups Projects
Commit c9fda9f1 authored by tjc's avatar tjc
Browse files

ensure white background

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@9299 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 2595e8af
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/FileViewer.java,v 1.18 2008-02-08 14:37:03 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/FileViewer.java,v 1.19 2008-11-12 16:50:37 tjc Exp $
*/
package uk.ac.sanger.artemis.components;
......@@ -60,7 +60,7 @@ import uk.ac.sanger.artemis.Options;
* be viewed.
*
* @author Kim Rutherford
* @version $Id: FileViewer.java,v 1.18 2008-02-08 14:37:03 tjc Exp $
* @version $Id: FileViewer.java,v 1.19 2008-11-12 16:50:37 tjc Exp $
*
**/
......@@ -140,7 +140,8 @@ public class FileViewer extends JFrame
Dimension d = new Dimension((int)screen.getWidth()/2,
(int)screen.getHeight()/2);
scroller.setPreferredSize(d);
scroller.getViewport().setBackground(Color.white);
textPane.setEditable(false);
textPane.setFont(font);
textPane.setBackground(Color.white);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment