0

i would like to write a program regarding the give character is vovel or consants but i am able to input the character can any one tell with full netbeans program including jTextField and all...........

3
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by stultuske
0

Can you show us the code you have now and explain what your problems are with it?
To determine if a characters is a vowel or consonant you need to do some kind of lookup.
One way would be to have a String of each and use indexOf to see if the given char belongs to one or the other.

0

what is your question? if we can tell whether you can write such a program?
well, if you have some knowledge of Java, yes, you can, but we won't do it for you.

if you 're new to Java, forget the UI for now, just start off with the 'checking for vowel' part. it's exactly the same whether it's used in a GUI app or a DOS prompt environment.

if you are new to Java, I would also recommend to forget about Netbeans for now. might be better to learn a bit about Swing and awt, before you start depending on a Wysiwyg-editor.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.