session.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
   public PrinterThread (ScreenChar[] sc, Font font, int cols, int rows,                           Color colorBg, boolean toDefaultPrinter, Session ses) {      setPriority(1);      session = ses;      screen = new ScreenChar[sc.length];      toDefault = toDefaultPrinter;      int len = sc.length;      for (int x = 0; x < len; x++) {         screen[x] = new ScreenChar(sc[x].s);         screen[x].setCharAndAttr(sc[x].getChar(),sc[x].getCharAttr(),sc[x].isAttributePlace());      }      numCols = cols;      numRows = rows;      this.colorBg = colorBg;      this.font = font;   }