private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
        try
        {
        FileDialog fd=new FileDialog(this);
        fd.show();
        File f=new File(fd.getDirectory()+"/"+fd.getFile());
        BufferedReader br=new BufferedReader(new FileReader(f));
        String email=br.readLine();
        while(email!=null)
        {
           
            Mainframe_Txt_To_Email_Ids.setText(Mainframe_Txt_To_Email_Ids.getText()+","+email);
            email=br.readLine();
        }
        br.close();
        }
        catch(Exception e)
        {
            System.out.println("File Reading Error:"+e.getLocalizedMessage());
        }
    }//GEN-LAST:event_jButton1ActionPerformed