问题描述
我阅读了一些有关Java布局管理器的信息,建议是。
我的问题是,我没有找到任何教程或简单的逐步文档。
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.
提前致谢,
guerda
Thanks in advance,guerda
推荐答案
Bombe是对的......错了。我发现这篇白皮书倾向于展示MiGLayout的所有强大功能,输入我们很少(如果有的话)使用的细节......这篇论文在作为教程和参考文献之间犹豫不决。
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).
这篇关于如何使用MigLayout?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!