title: Does making a builder class to create JLabels make swing components load faster?
body: <p>Suppose I have the following code to make a JLabel:</p>
  
  <pre><code>JLabel label = new JLabel("Test");
  label.setBounds(6, 5, 538, 15);
  .
  . (Edit Other Properties Here)
  .
  </code></pre>
  
  <p>I also have a class called "CustomJLabel", which is shown here"</p>
  
  <pre><code>public class CustomJLabel extends JLabel {
  
     public CustomJLabel(int x, int y, int width, int height, String text) {
  
         this.setBounds(x, y, width, height);
         this.setText(text);
  
     }
  
  }
  </code></pre>
  
  <p>Of course, in the case of only having 1 or a few JLabels, the builder class (CustomJLabel) isn't necessary. However, I found many programmers use these builder classes as practice. However, the question here is that <strong>if you had 100 JLabels, each initialized with their own properties, would it be more efficient for a programmer to use the Builder class?</strong> From my experience, using a builder class greatly improves code readability and how many lines of code you need to type. </p>