X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=micropeak%2FMicroRaw.java;h=f00d7ea38462dc876080d9ddd5dc82e97097867f;hb=359e2d6eca5258f4fabc59772f1320e195a7397c;hp=dd480bfe30e00e007f71a6e296edb2f86fe0a530;hpb=ca284d8bef2f4bd360eaec58048ba9abdafc55bd;p=fw%2Faltos diff --git a/micropeak/MicroRaw.java b/micropeak/MicroRaw.java index dd480bfe..f00d7ea3 100644 --- a/micropeak/MicroRaw.java +++ b/micropeak/MicroRaw.java @@ -3,7 +3,8 @@ * * This program 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; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,8 +21,8 @@ package org.altusmetrum.micropeak; import java.awt.*; import java.io.*; import javax.swing.*; -import org.altusmetrum.AltosLib.*; -import org.altusmetrum.altosuilib.*; +import org.altusmetrum.altoslib_11.*; +import org.altusmetrum.altosuilib_11.*; public class MicroRaw extends JTextArea { @@ -34,10 +35,12 @@ public class MicroRaw extends JTextArea { } catch (IOException ie) { setText(String.format("Error writing data: %s", ie.getMessage())); } + setCaretPosition(0); } public MicroRaw() { super(1, 30); setFont(AltosUILib.table_value_font); + setEditable(false); } }