java - How do I use MiG Layout with Eclipse? -


I'm checking on googling and stack overflow and nothing is helping ... hopefully someone does the tax Could.

I usually just write my code manually, but I'm working on a Java project that has a GUI aspect and I like how the MiG layout is provided, so I want to use it. I downloaded the .jar file from the website, but I think I can not be able to access it from my project.

I am using Eclipse as my EDEEE for this project because I do not want to deal with this particular thing by hand I am new to Eclipse, but I try here I am: Import the .jar file (via import tool for project), then add the following code to my file:

  Import net.miginfocom.swing.MigLayout; Import javax.swing *; According to  

, this should work, okay?

But when I try to run the program, I get this message from:

 

What am I doing wrong? >

It looks like the" import tool "part was not working properly - this eclipse is not actually using a jar file. / P>

I recommend that you right-click on the project, select Properties, and go to the Build Path page. Below the "Library" tab, there is nothing to see as jar file, add it and everyone should be well.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -