Advertisement
Guest User

Untitled

a guest
Jun 16th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. /** try{
  2. Class.forName("com.mysql.jdbc.Driver");
  3. conn = DriverManager.getConnection("jdbc:mysql://localhost/my3csd","root","12345");
  4. statusTextArea.setText("Connection SUCCESSFUL!");
  5. }
  6. catch(Exception e){
  7. statusTextArea.setText( e.getMessage() );
  8. }**/
  9. conn = GuiMain.conn;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement