Results 1 to 2 of 2
  1. #1
    nickburris is offline Member
    Join Date
    Jan 2011
    Posts
    30
    Rep Power
    0

    Default How to make a text box, and info from text box gets sent by email

    I want to make a text box in my program (Well, it'll be a suggestion box), and when the user enters in text, then they press a button that'll be beneath the text box, how can I get it to send the text via email to me, without the person having to do anything besides press the enter button below the text box?

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,541
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by nickburris View Post
    I want to make a text box in my program (Well, it'll be a suggestion box), and when the user enters in text, then they press a button that'll be beneath the text box, how can I get it to send the text via email to me, without the person having to do anything besides press the enter button below the text box?
    Can you fetch the text from that box when a button is pressed already? If so, you've done most of the job. All you have to do is install java mail (from Sun/Oracle) and send the text to a particula recipient (you).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. How to make a TEXT TWIST using GUI
    By leunam123 in forum AWT / Swing
    Replies: 4
    Last Post: 08-17-2010, 03:14 PM
  2. Replies: 0
    Last Post: 08-06-2010, 05:40 PM
  3. How to make text bold using java
    By gundyguyz in forum New To Java
    Replies: 2
    Last Post: 07-28-2009, 05:06 AM
  4. [SOLVED] Java not fill in all info for text file
    By gotenks05 in forum New To Java
    Replies: 0
    Last Post: 05-24-2009, 05:17 PM
  5. Make a text in Jlabel down to next Line
    By hungleon88 in forum AWT / Swing
    Replies: 2
    Last Post: 12-01-2008, 11:10 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •