CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    G day Mayt Land
    Posts
    971

    Simple event question

    Hi

    I have been thrown at doing some Linc coding and need some help.
    Linc code gets translated into Java and then compiled into a class and the class file is used so my question is about
    Java.
    My exposure to Java is not that much so apologies If I do sound stupid when replying to a message.

    What I want to do is to be able to simply capture an Event (When a control has the focus and a Fun Key (F1) is pressed be able to pop up a message or beep or something...

    How do I do this in Java.
    Cheers
    Using Java version on windows 1.8_51

  2. #2
    Join Date
    Apr 2010
    Posts
    13

    Re: Simple event question

    If you want to capture an event, you have to write an EventListener generaly. In swing something like this tutorial on writing keylistener could help. Not sure if your application is in swing, javafx or something other but it can give you some overall view of the topic and help google further.

  3. #3
    Join Date
    May 1999
    Location
    G day Mayt Land
    Posts
    971

    Re: Simple event question

    Can I email you ? Cheers? badmullah at gmail
    Using Java version on windows 1.8_51

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