I read some information about Java layout managers and the recommendation was MigLayout. My problem is, that I didn't found any tutorial or easy step-by-step documentation.
So I want to know how this all works, but I don't know how.
Hope, it's not to trivial.
Thanks in advance, guerda
MiGLayout is a grid-based layout underneath, as is FormLayout or GridBagLayout. However, it provides constraints that allow it to be used conceptually as a flowing or docking layout; it even provides absolute positioning of some components.
It sounds as though you haven't added the miglayout library (jar files you downloaded from the miglayout website) to your classpath. Right click on your project, select properties, select libraries and hit "add jar", select the downloaded files. Show activity on this post.
Bombe is right... and wrong. I find this whitepaper tends to show off all great features of MiGLayout, entering in nitty gritty details that we would rarely, if ever, use... The paper hesitates between being a tutorial and a reference.
Now, the provided demo applications (at MiG Layout main page and MiG Java Components page) are very well made: you can see the components and how they move/are resized, and you can take a look at the source code used to do this layout, which is a precious source of concrete implementation. Precious because I haven't found many open source projects actually using this layout (perhaps I just wasn't searching properly).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With