Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

getch in Java

Thread view: 
azsx - 03 May 2006 22:09 GMT
does someone know how can i obtain the c getch() function in java?
Roedy Green - 03 May 2006 22:25 GMT
>does someone know how can i obtain the c getch() function in java?

there isn't one. The catch is you can't count on every platform to
support such a beast. Some just have line mode console input.

You can simulate one with a TextField to enter your data into
character by character.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

nkalagarla@gmail.com - 03 May 2006 23:15 GMT
> does someone know how can i obtain the c getch() function in java?

There is no direct support for getch(). If it is a must, you could try
JNI. Here is link for java bug, you may find some alternatives in that
link.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4050435
azsx - 04 May 2006 00:26 GMT
thanks, i tried that. but i thought there may be a direct way.
azsx - 04 May 2006 00:26 GMT
thanks, i tried that. but i thought there may be a direct way.
azsx - 04 May 2006 00:30 GMT
thanks, i tried that. but i thought there may be a direct way.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.