tweaks for finishing 46

This commit is contained in:
benfry
2002-11-20 17:36:38 +00:00
parent e569afee3e
commit ed20202df9
4 changed files with 30 additions and 1 deletions

View File

@@ -304,6 +304,13 @@ public class PdeEditorConsole extends Component {
}
public void message(String what, boolean err, boolean advance) {
// under osx, suppress the spew about the serial port
// to avoid an error every time someone loads their app
if (PdeBase.platform == PdeBase.MACOSX) {
if (what.equals("Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path")) return;
if (what.equals("Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver")) return;
}
int currentLine = (firstLine + lineCount) % maxLineCount;
lines[currentLine] = what;
isError[currentLine] = err;