Non Blocking read in consol Java app


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Non Blocking read in consol Java app

  1. #1
    Akhilesh Mritunjai Guest

    Non Blocking read in consol Java app


    Hi there
    any ideas about getting a non blocking read in java consol (and otherwise)
    app. i also want to capture special keys (like pgup and alt and et all).
    in a nut shell i want a getch() equivalent for java...
    yours
    Akhilesh

  2. #2
    Paul Clapham Guest

    Re: Non Blocking read in consol Java app

    For non-blocking reads, create a thread that does the read.

    Akhilesh Mritunjai <akhileshmritunjai@hotmail.com> wrote in message
    news:38deb3d0$1@news.devx.com...
    >
    > Hi there
    > any ideas about getting a non blocking read in java consol (and otherwise)
    > app. i also want to capture special keys (like pgup and alt and et all).
    > in a nut shell i want a getch() equivalent for java...
    > yours
    > Akhilesh




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center