
Misleading/incomplete installation instructions
This has been mentioned before on this forum, but I fell a victim yesterday and feel the need to bump the topic.
On the website, it says:
Quote:
It is really simple to get started with MigLayout. All you need to do is to download the correct .jar from above and add it to you classpath. That's it!
That's not enough, especially if you are working at the command line. I lost a few hours while "fixing" my classpath, reinstalling MigLayout, pulling my hair, etc. Finally, after a deep Google I found the "fix" here:
Quote:
import net.miginfo.com.swing.MigLayout
import javax.swing.*
I argue that at the very least the import for MigLayout should be part of the "really simple" getting started instructions. It's a trivial change to the website, and may save the next guy some trouble-shooting time.
I propose the following change:
Quote:
It is really simple to get started with MigLayout. All you need to do is to download the correct .jar from above and add it to you classpath. And, if you're working at the command line, or if your IDE does not automatically handle it, add the following line to your source code:
Code:
import net.miginfo.com.swing.MigLayout
That's it! Tom.