[填空题] 请完善程序(程序文件名:Java_1.java)并进行调试。请在下画线处填入正确内容,然后删除下画线。请勿删除注释行和其他已有的语句内容。题目要求:请完善程序并进行调试,使程序输出结果如下:源程序:import javax.swing.*;public class Java_1public static void main(String args[])StringBuffer buf=new (1) ("Hello,how are you");String output="bur="+bur.toString()+"length="+bur.length()+"incapacity="+bur.capacity();bur.ensureCapacity(75);output+="New capacity="+buf.capacity();buf.setLength(10);output+="ininNew length="+buf.length()+"inbuf="+bur.toString();JOptionPane.showMessageDialog(null, output, "字符串缓存长度和容量的实例", JOptionPane. (2) );System. (3) (0);3()