我想爲我的TableViewer實現分揀機,當我單擊標題時允許對列進行排序。然而,當我試圖建立我的ViewerComparator我得到這個錯誤: Exception in thread "main" org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.
我在從某些線程獲取結果時遇到了麻煩。 我解釋了環境,我有一個SWT外殼和一個按鈕。這個按鈕的監聽器調用一個Runnable,它的run()調用一個實例化N個線程來執行一些操作的方法。問題是:當所有計算終止時,如何在屏幕上顯示消息對話框或其他內容?我的代碼是類似的東西 public void widgetSelected(SelectionEvent event) {
Runnable t