Ignore:
Timestamp:
05/10/18 16:04:51 (6 years ago)
Author:
davidb
Message:

Reworking of the code-base to separate logic from graphics. This version of Expeditee now supports a JFX graphics as an alternative to SWING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/actions/ScriptBase.java

    r1080 r1102  
    1919package org.expeditee.actions;
    2020
    21 import java.awt.Color;
    2221import java.util.Collection;
    2322import java.util.LinkedList;
     
    3231import javax.script.SimpleScriptContext;
    3332
     33import org.expeditee.core.Colour;
    3434import org.expeditee.gui.Frame;
    3535import org.expeditee.gui.FrameIO;
     
    235235        Text errorItem;
    236236        errorItem = errorFrame.addText(x, y, errorItemLines[cl.line], null);
    237         errorItem.setBackgroundColor(Color.RED);
     237        errorItem.setBackgroundColor(Colour.RED);
    238238        for(String line : message.split("[\\n\\r]+")) {
    239239            errorItem.setTooltip("text: " + line);
Note: See TracChangeset for help on using the changeset viewer.