Exemplo n.º 1
0
  private void initDisplay() {

    try {
      add("Center", moviePanel.asComponent());

    } catch (NullPointerException ne) {
    }

    pack();
    setLocation(xVideo + 5, yVideo + 54);
    setSize(widthVideo, heightVideo);
    running = true;
    toFront();

    ImageIcon icon = TResourceManager.getImageIcon("transparent.png");
    Image imageCursor = icon.getImage();
    Cursor customCursor = getToolkit().createCustomCursor(imageCursor, new Point(), "MyCursor");
    this.setCursor(customCursor);
  }
Exemplo n.º 2
0
 /**
  * Constructor of the TAdjustVerticalGapAction.
  *
  * @param editor The boards' editor
  */
 public TAdjustVerticalGapAction(TEditor editor) {
   super(
       editor,
       TLanguage.getString("TAdjustVerticalGapAction.NAME"),
       TResourceManager.getImageIcon("align-vertical-gap-22.png"));
 }