JPanel panel = new JPanel();
panel.setLayout(new MigLayout());
这是我的代码。我收到编译器错误
org.eclipse.swt.widgets.Layout 类型无法解析。它是从所需的 .class 文件中间接引用的,并且setLayout(LayoutManager)
类型 Container 中的方法不适用于参数(MigLayout)
我已经在构建路径中配置了 Miglayout.jar。我可以在 -preferences>javabuildpath>libraries 下看到它
谁能帮我这个。