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); }
/** * 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")); }