INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

how to display message in java?

how to display message in java?

(OP)
can you tell me how i can display message in java.........

RE: how to display message in java?

CODE

public class Test {
    public static void main(String[] args) {
        System.out.println("Hello, world!");
    }
}

Any search on Google would have lead to a similar result :)

RE: how to display message in java?

(OP)
thanx but i copied it abc.java it is not working

RE: how to display message in java?

you must copy the code in a file called exactly Test.java ... or let it be abc.java, but then remove the public keyword from the class declaration (just 'class Test' instead of 'public class Test'

RE: how to display message in java?

(OP)
Very Thank you  and from morning i was learning java now getting more information about it but somthing problems such how to create how to send email in java swing base application?
i got code for another language but i need in java with swing base application can you tell me.....?

RE: how to display message in java?

Well, it's a long distance from writing hello world programs to writing a swing application capable of sending e-mails ... I'm afraid it's not something I can explain here. You can learn Java quicker from the Java tutorial which is here:

http://download.oracle.com/javase/tutorial/

It covers the basics of Swing programming

As for sending e-mails, you need to use the Javamail API. Do a search on Google and you'll find it

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close