Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Display Output

  1. #1
    Junior Member
    Join Date
    Jul 2019
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Display Output

    Is there a way to read the display output.
    I am trying to make a program that alerts me every time i move down in the queue for a application. I couldnt find anything about my situation. Is there is way to take what is displayed on the screen and have the program print that out to me.

    For example if i went from 50 in the queue to 45, it would tell me that my spot is now 45.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Display Output

    The Robot class has methods for capturing what is displayed on the screen.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Jul 2019
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Display Output

    I have looked at this but it does not seem like I would be able to take the printed text from an image and convert that into another program using the robot class

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Display Output

    The Robot class's method would take an image of the screen, then you would need some character recognition code to scan that image and find the desired text.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. [SOLVED] Java runtime get result output from prompt problem with a larger output in type
    By kingwang98 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: August 14th, 2014, 08:52 AM
  2. How to read an empty token and display it in the output??
    By tomwill2134 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 6th, 2013, 08:37 AM
  3. Need line breaks in output display
    By Rick Sebastian in forum What's Wrong With My Code?
    Replies: 4
    Last Post: March 11th, 2013, 02:58 AM
  4. Output doesn't display numbers
    By Sylis in forum What's Wrong With My Code?
    Replies: 6
    Last Post: November 14th, 2012, 11:51 PM
  5. Display Servlet Output into JSP Page
    By DanBrown in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: February 28th, 2011, 10:34 AM

Tags for this Thread