title: Is it possible to use braces {} just to subdivide Java code?
body: <p>I'm quite inexperienced in making GUI's with Swing and now I'm wondering if its possible to use "{" and "}" just to subdivide my code a little bit e.g.</p>
  
  <pre><code>[...]
  JFrame f = new JFrame();
  JPanel p = new JPanel();
  {
     JLabel a = new JLabel("Hello");
     p.add(a);
  
     JLabel b = new JLabel("World!");
     p.add(b);
  }
  f.add(p);
  [...]
  </code></pre>
  
  <p>I tested it and I don't think it made any difference... Am I wrong?</p>
  
  <p>Thanks in advance</p>