5
如何實現對SWT瀏覽器窗口小部件放置目標放置目標?以某 瀏覽器實例作爲參數傳遞給DropTarget
構造導致任何註冊下降的聽衆沒有 通知。如何實現對SWT瀏覽器窗口小部件
Browser browser = new Browser(parent, SWT.NONE);
int operations = DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_DEFAULT;
DropTarget target = new DropTarget(browser, operations);
target.setTransfer(...)
DropTargetListener listener = ...;
target.addDropListener(listener);
感謝, 亨利