title: How do you add music to a JFrame?
body: <pre><code>import java.awt.*;
  import javax.swing.*;
  
  public class TestFrame1 {
      public static void main(String[] args) {
  
          JFrame frame = new JFrame("Test Frame 1");
          frame.setSize(200, 100);
          frame.setVisible(true);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      }
  }
  </code></pre>
  
  <p>I need some help adding music to jframe. i been looking only for a good tutorial, and none of them seem to work.</p>
  
  <p>im using netbeans. here is my current code. i just want to add music to the frame no stop button for now. Thank you.</p>