Hello,
Can anybody give me the code for this.........
I want the compiler to read the text entered by the user in the textfield and i want the compiler to show a message in a dialogue box if the text is not in capital letters.
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hello,
Can anybody give me the code for this.........
I want the compiler to read the text entered by the user in the textfield and i want the compiler to show a message in a dialogue box if the text is not in capital letters.
And which part of this is giving you trouble? What have you tried? Where are you stuck?
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
See my logic is this....
First i created a textfield and then i tried to pass the text string into an array using toChar().Then i wrote an if-else statement(that is,it should print a dialog box when some element of that array is containing an ASCII value corresponding to a small letter).It would be very helpful if someone can give me the code.
We aren't going to do your work for you. Post an SSCCE and a specific question about what's confusing you, and we'll try to help you.
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
ok fine .i will send u the code tommorrow and then u can check and tell me whats wrong with it. Is that fine?
Sure. Just make sure it's in SSCCE form, and we'll be more than happy to answer any specific questions you have about it. Don't forget the highlight tags.
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
what is the highlights tag?
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!