Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use MigLayout? [closed]

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

like image 976
guerda Avatar asked Dec 09 '08 13:12

guerda


People also ask

What is Miglayout?

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.

How do I add Miglayout to Netbeans?

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.


1 Answers

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).

like image 88
PhiLho Avatar answered Sep 24 '22 20:09

PhiLho