Results 1 to 8 of 8
  1. #1
    Sank is offline Member
    Join Date
    May 2011
    Posts
    7
    Rep Power
    0

    Default how to capture keyboard strockes then change it then print into a note pad?

    how to capture keyboard strokes .....then change it .....then print into a note pad.

    its like first i run the java program. then minimize the gui. open a notepad. type from my keyboard "a" and "b"(say) typed into the notepad. all the time my java gui program minimized.

    can any one help me how to to that??


    thanks in advance.

  2. #2
    goldest's Avatar
    goldest is offline Senior Member
    Join Date
    Oct 2009
    Location
    Pune, India
    Posts
    469
    Rep Power
    5

    Wink

    Have you tried anything?
    Java Is A Funny Language... Really!
    Click on * and add to member reputation, if you find their advices/solutions effective.

  3. #3
    Sank is offline Member
    Join Date
    May 2011
    Posts
    7
    Rep Power
    0

    Default

    actually i am building a virtual keyboard but symbols are associated with different keys. i already built the gui with keyboard buttons and when i click on those button corresponding key printed on notepad.

    but the problem comes when i am using keyboard(real). i want to change the keys associated with keyboard and print a different one. like when I press "a" on my keyboard in notepad it should print "b"(say).

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,404
    Rep Power
    20

    Default

    all the time my java gui program minimized.
    A minimized GUI doesn't receive input. Change your requirements.

    db

  5. #5
    Sank is offline Member
    Join Date
    May 2011
    Posts
    7
    Rep Power
    0

    Default

    but i have a keyboad written in vc++ which, when minimized still change the keyboard(real) value. as log as it open or running keyboard(real) value changed.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,404
    Rep Power
    20

    Default

    Are we talking about Java or C++ here?

    db

  7. #7
    Sank is offline Member
    Join Date
    May 2011
    Posts
    7
    Rep Power
    0

    Default

    no i have vc++ code but i want do it in java.

    if i change the scan code of keyboard keys will there be any help?

  8. #8
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,404
    Rep Power
    20

Similar Threads

  1. confusion about the Note class
    By yma16 in forum New To Java
    Replies: 4
    Last Post: 04-16-2011, 05:35 AM
  2. things necessary to take note of before going to learn EE
    By kulangotski in forum New To Java
    Replies: 0
    Last Post: 12-28-2010, 06:30 AM
  3. SCJP Handwritten Note
    By arudra.scjp in forum Java Certification
    Replies: 0
    Last Post: 08-14-2009, 01:24 PM
  4. Replies: 5
    Last Post: 07-26-2009, 03:37 PM
  5. note while compiling
    By j2vdk in forum New To Java
    Replies: 3
    Last Post: 09-03-2008, 11:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •