*/
public class ErrorStringAppender extends AppenderSkeleton {
@Override
protected void append(LoggingEvent le) {
MainFormThread mainF = picture.Main.mainF;
if(mainF != null)
mainF.setErrorString(le.getRenderedMessage());
else
System.out.println("mainF is NULL!!!");
}