I right clicked my project, went to properties, libraries and added miglayout-4.0-swing.jar, but upon writing
JPanel mainwindow = new JPanel(new MigLayout());
in my project it cannot find the MigLayout class, and wants me to create it. Am I doing something wrong?