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

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 JavaMail docs for information on the second.

hey thanx alot, i appreciate it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.