I have no idea how to get MigLayout to work in IntelliJ (I'm sort of a noob at IntelliJ). I am currently using the 2017.3.5 community edition.
I've downloaded the jar file, but I can't seem to import it correctly.
I have import net.miginfocom.swing.MigLayout;
at the top of my main file, but when I try to compile my code, I keep getting an error
Error:(40, 30) java: cannot access net.miginfocom.layout.LC class file for net.miginfocom.layout.LC not found
Any idea what I'm doing wrong?
尝试:文件->项目结构->选择左侧的模块->选择依赖项选项卡->在右侧或底部找到+->添加.jar
Also include the core lib. You can get it here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.