-
August 12th, 2015, 07:50 PM
#1
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
-
September 18th, 2015, 06:15 AM
#2
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.
-
September 27th, 2015, 03:51 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|