private void jb_connectActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jb_connectActionPerformed
    {//GEN-HEADEREND:event_jb_connectActionPerformed
        mysql_connection = new MySqlConnection(jtf_username.getText(),jpf_password.getText(),jtf_url.getText());
        if(mysql_connection.connect())
        {
            this.jl_message.setText("");
            jtf_username.setText("");
            jpf_password.setText("");
            jtf_url.setText("");
            connected = true;
            this.setVisible(false);
        }
        else
        {
            connected = false;
            jpf_password.setText("");
            this.jl_message.setText("Greska!!!");
        }
    }//GEN-LAST:event_jb_connectActionPerformed