SymbolDialog symbolDialog = new SymbolDialog(); DialogResult result = symbolDialog.showDialog(MapControl.getMap().getWorkspace().getResources(), new GeoStyle(), SymbolType.MARKER);
看着是这个ColorArrayPanel类里读文件出的错,不过我看引用的组件类包里有这个文件
package SuperMap_Gis; import com.supermap.data.*; import com.supermap.ui.DialogResult; import com.supermap.ui.SymbolDialog; public class main_start { public static void main(String[] args) { javax.swing.SwingUtilities.invokeLater(() -> { try{ SymbolDialog symbolDialog = new SymbolDialog(); DialogResult result = symbolDialog.showDialog(new Workspace().getResources() , new GeoStyle(), SymbolType.MARKER); } catch (Exception exception) { System.out.println(exception.getMessage()); } }); } }
294行报的错,我就这样调用一个实例,也是报同样的问题