title: Java + Miglayout - top margin border issue?
body: <p>I have problem with margin. Probably its very easy to solve, but i dont know what is the cause. I have four components, three jscrollpanels and one jpanel. Components are placed like this:</p>
  
  <p><img src="https://i.imgur.com/z2Vx9.png" alt="components"></p>
  
  <p>Problem is marked with red ellipse. How to wipe this margin out? I know, that problem is related with border (even that im creating border with same method for every component). Im using this:</p>
  
  <pre><code>setBorder(BorderFactory.createTitledBorder("Sterowanie:"));
  </code></pre>
  
  <p>But when i dont set a border for JPanel ( component with label "Sterowanie" ), it fill all place without margin. With border, it fill just a bordered region. The code which i use to place components:</p>
  
  <pre><code>proxys = new ItemViewer("Numery:");
  add(proxys, "height 65%, width 33%");
  
  accs = new ItemViewer("Konta:");
  add(accs, "height 65%, width 33%");
  
  panel = new JPanel();
  panelLayout = new MigLayout("insets 0 0 0 0");
  panel.setBorder(BorderFactory.createTitledBorder("Sterowanie:"));
  add(panel, "height 65%, width 34%, wrap");
  
  log = new Log("Log:");
  add(log, "height 35%, width 100%, span");
  </code></pre>
  
  <p>Hm?</p>