
Write a java swing program to getname and email id. Display the message if email id contains the name of theuser.

i suggest u 1. you insert name in an array of string 2. store the email id as in an array 3. make a loop of the length of the array of name and find a substring of email id 4.math both substring and user name
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.