Registry / utility / miglayout

miglayout

JSON →
library3.7.4javamavenunverified

MiGLayout is a versatile Java layout manager for Swing, SWT, and JavaFX that simplifies GUI layout with a powerful constraint-based system.

<dependency> <groupId>com.miglayout</groupId> <artifactId>miglayout</artifactId> <version>3.7.4</version> </dependency>
INSTALL
IMPORT
SIG · MIGLAYOUT
M
miglayout
utilityjavav3.7.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MigLayout
net.miginfocom.swing.MigLayout

Minimal example using MigLayout to arrange a button in a Swing frame.

import net.miginfocom.swing.MigLayout; import javax.swing.*; public class Example { public static void main(String[] args) { JFrame frame = new JFrame(); frame.setLayout(new MigLayout()); frame.add(new JButton("Button"), "cell 0 0"); frame.pack(); frame.setVisible(true); } }
Debug
Known issues
breakingMiGLayout 3.7.4 is outdated; newer versions (e.g., 5.x) have different APIs and fixes.
fix
Upgrade to the latest version (5.3.0 or later) and adjust layout constraints if needed.
affects: <=3.7.4
Upgrade
Version history
3.7.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources