Reputation: 1071
I've spent all night trying to accomplish what I thought would be a simple task.
I would like to use the latest version of MigLayout, I believe that is 5.1 but at this point I would settle for 4.2, for a project I'm doing for school.
It seems that I can not find the correct file (.jar) to download because everything I think is the correct one never works when I use it in my project. FYI I am using NetBeans 8.1 and I know how to go into the project properties and add the .jar file as a library.
It seems the closet I've managed to get to a working library turned out to be empty classes. It had all the class names but all the functionality stripped out. I guess that was a demo library? Snapshot?
I have searched all night long for some help installing/ initializing MigLayout in my project and could not find a single video or document that could be remotely called a tutorial on how to get MigLayout up and running. Can anyone help me out? I need to be spoon feed on this ONE step. Once I have a working library I'm good to go.
Upvotes: 1
Views: 1128
Reputation: 11450
Easiest solution would be to use a Dependency Management System like Maven or Ivy. But also you are not using such a thing they can help to find the correct jars: Maven Repo for Miglayout. The pom.xml files could tell you which dependencies you also need.
I guess you are writing a Swing application and so you need the swing version: Miglayout Swing which depends on the Miglayout Core (see pom.xml of the Swing artifact). So add this two jar files to your project and it should work.
Upvotes: 2