title: Java learn using SWT gridlayout and griddata
body: <p>I understand and can use FormLayout, FormData, FormAttachment but I can't understand how GridLayout, GridData is working. I want to learn using GridLayout and GridData because it's more like a table, it has a structure and doesn't depend on other widgets.</p>
  
  <p>I was working as a web developer (front-end, back-end) and I got lost in Java "Grid" structure. How am I supposed to align, move widgets within a cell (horizontal/vertical Aling, hor./vert. Indent)? Like in HTML/CSS: margin, padding, etc. Ex: move a block from left by 100px. (margin-left: 100px), but in Java?</p>
  
  <p>When I was working as a web developer, I created a page (here in Java it's view), I know how to organize parents and blocks. Can I compare a Composite to a div, like a block element like in HTML/CSS ?</p>
  
  <p>I need to create the following app:</p>
  
  <p><img src="https://i.stack.imgur.com/g1ef3.jpg" alt="enter image description here"></p>
  
  <p>Am I need to use 4 composites?</p>