Results 1 to 4 of 4
  1. #1
    SAEEDR is offline Member
    Join Date
    Aug 2015
    Posts
    2
    Rep Power
    0

    Default Java and capturing an screen event

    there is a 4GL product that uses its own programming language but then it converts its code to java
    and the compiles and make a class for every screen (Text boxes , labels , combo boxes , ..etc) or report that the product contains moves it to a unix box and then screen are used via the browser .

    I know in Java you should be able to set the cursor on a control and press a Fun key and get some message
    to pop up
    This product allows including java code to be used within its 4gl programming language.
    I am hoping to be able to capture certain events when the cursor is at this control and that control and enhance this
    product.

    Any help is appreciated

  2. #2
    Join Date
    Aug 2015
    Location
    Northern California
    Posts
    31
    Rep Power
    0

    Default Re: Java and capturing an screen event

    I don't think anyone understands your questions enough to answer very well. In Java we add a listener for listening to events. I know 4GL is a development environment I don't remember from where.

  3. #3
    SAEEDR is offline Member
    Join Date
    Aug 2015
    Posts
    2
    Rep Power
    0

    Default Re: Java and capturing an screen event

    OK How about this :
    How do I pop up a message when I press f1 , if my cursor is focused on a Control ?
    Thanks

  4. #4
    benji2505 is offline Senior Member
    Join Date
    Sep 2014
    Location
    MA, USA
    Posts
    399
    Rep Power
    6

    Default Re: Java and capturing an screen event

    Well, the question is still a kind of cryptic, but

    A keyboard key is hooked up to a keyboard event via a keylistener

    A graphical object is hooked up to a mouse event via a mouselistener

    A popup dialog is usually shown via a JOptionpane and it has 4 different choices of dialogs.

    If you search for any of these keywords you will find what you are looking for.
    Last edited by benji2505; 08-13-2015 at 02:48 AM.

Similar Threads

  1. Java Regex capturing group question
    By Webwizard in forum New To Java
    Replies: 1
    Last Post: 04-25-2013, 10:19 PM
  2. Replies: 9
    Last Post: 09-06-2012, 09:37 AM
  3. How Capturing Sound Mic & Speaker with Java
    By FJavierBG in forum New To Java
    Replies: 2
    Last Post: 08-21-2012, 04:03 AM
  4. Replies: 0
    Last Post: 07-01-2010, 03:56 PM
  5. Java Swing class capturing output to the console
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-12-2008, 11:24 AM

Posting Permissions

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