public void jtextArea1(String text) { System.out.print(text); jTextArea1.append(text); } public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new My_Frame().setVisible(true); DBConnect db=new DBConnect(); jTextArea1.setText(db.getData()); } });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)