CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to use F1 in Java application

    How can I use function key F1 for specifing help of my java application.

    Thanks


  2. #2
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    Re: How to use F1 in Java application

    U will have to add KeyListener to the component.
    This in this KeyListener u will check for VK_F1 key. This should give u control on F1 key.

    I'm not sure if just setting KeyListener for application or a panel in it will work. U might have to add listener to all components in the application.

    - UnicMan
    http://members.tripod.com/unicman

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured