how do you make a button so when clicked it makes all the info you typed in the form of a java/netbeans program, and it emails the info to a specific email address? i know im a newbie at this :o
Jump to Post
JButton clickMe = new JButton("Click Me!");
After that all you have to do is map the actionevent from the buttonclick to a method that reads out the screen, generates an email using JavaMail, and sends it off.
See any Swing tutorial for the first part, and the …
All 2 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.