JFrame jf = new JFrame("震动波形图"); jf.getContentPane().add(new RecieveData()).setBackground(Color.black);