title: MigLayout error: "Unstable cyclic dependency in absolute linked values!"
body: <p>Why does this SSCCE (with MigLayout libraries) ...</p>
  
  <pre><code>public static void main(String[] args) {
  
      try {
          UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
      } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e) {
          e.printStackTrace();
      }
  
      JFrame frame = new JFrame();
      frame.setLayout(new MigLayout(new LC().fill().insetsAll("0")));
  
      JTabbedPane jtp = new JTabbedPane();
      jtp.add(new JPanel(), "Tab 1");
      jtp.add(new JPanel(), "Tab 2");
  
      JLabel label = new JLabel("label");
  
      JPanel panel = new JPanel(new MigLayout(new LC().fill()));
      panel.add(jtp, "id tabbedpane, grow, span");
      panel.add(label, "pos (tabbedpane.w-label.w) 10, id label");
      label.setBounds(100, 100, 10, 10);
  
      frame.add(panel, "grow, span");
      frame.setSize(500, 500);
      frame.setLocationRelativeTo(null); // Sorry, Andrew Thompson
      frame.setVisible(true);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  }
  </code></pre>
  
  <p>Throw this error:</p>
  
  <pre><code>Unstable cyclic dependency in absolute linked values!
  Unstable cyclic dependency in absolute linked values!
  Unstable cyclic dependency in absolute linked values!
  Unstable cyclic dependency in absolute linked values!
  </code></pre>
  
  <p>?</p>
  
  <p>I figured it out that if you remove the <code>WindowsLookAndFeel</code> code, then everything runs fine...</p>
  
  <p><img src="https://i.stack.imgur.com/sM6DM.png" alt="enter image description here"></p>
  
  <p>So, this is a problem with MigLayout and the <code>WindowsLookAndFeel</code>. Yet my real application necessitates its use.</p>
  
  <p>EDIT:</p>
  
  <p>This is what the frame looks like when the error is thrown:</p>
  
  <p><img src="https://i.stack.imgur.com/gkAIg.png" alt="enter image description here"></p>