How to capture graphical outputs from other programs

Does anyone know how we capture the graphical outputs from the other programs and show them
on the swing?
I'd like to use a java program to run gnuplot, capture the outputs, and show them using swing.

Depends on what you mean by "graphic outputs".
Taking a quick glance at the gnuplot homepage, it looks as if you can output to PNG files, so just run the app, and load the png file.

Similar Messages

  • How to capture the output of another program into a File/String

    I needed to capture the output of a dos program in an String/file I tried doing Runtime.getRuntime.exec("ipconfig /all >tmp.txt");
    but still I am unable to capture the output frm the program which I would like to capture in a file or String.Can anyone help

    When you use the Runtime.exec() method, it returns a Process object, that process object has access to the streams; stdout, stdin, and stderr of the application you just executed. what you'll want to monitor is the stdout or stderr streams using the
    p.getInputStream() or p.getErrorStream(), where p = the process object returned via the Runtime.exe() method.

  • How to know spool requests from other program?

    Hi,
    I have requirement like: one standard program will be scheduled in the background, so corresponding spool requests will generated.
    I need to write a program, which will capture the spool requests of the standard program.
    is there any function module/table available for this requirement? we need to give  spool title, date and time as input parameters to that function module.
    please help me

    Hi,
    try these Function Modules....
    RSPO_IDELETE_SPOOLREQ
    RSPO_IGET_TOC_SPOOLREQ
    RSPO_IMAP_PAGES_SPOOLREQ
    RSPO_ISELECT_SPOOLREQS
    RSPO_RCHANGE_SPOOLREQ_ATTR
    RSPO_RDISPLAY_SPOOLREQ
    RSPO_RDISPLAY_SPOOLREQ_LIST
    RSPO_RID_SPOOLREQ_ATTR
    RSPO_RID_SPOOLREQ_DISP
    RSPO_RID_SPOOLREQ_LIST         List Display for Spool Requests with ID
    RSPO_RISELECT_SPOOLREQS
    RSPO_RLIST_DELETE_SPOOLREQ
    RSPO_RPRINT_SPOOLREQ
    RSPO_RSPOOLREQ_LIST_TO_VIEW
    RSPO_RSPOOLREQ_TO_VIEW
    RSPO_RSTATUS_FOR_SPOOLREQ
    Arunima

  • How do I open something from other program in the same/ current tab? IE has this functionality under internet options

    How can I get applications to open in the same tab/window I am working in. In IE it was very simple. Its just a check-box under internet options. I cannot figure it out with Firefox yet
    == This happened ==
    Every time Firefox opened
    == i started using it

    I'm not sure but maybe the Tab Mix Plus extension provides that option https://addons.mozilla.org/en-US/firefox/addon/1122/

  • How to capture an image from my usb camera and display on my front panel

    How to capture an image from my usb camera and display on my front panel

    Install NI Vision Acquisition Software and NI IMAQ for USB and open an example.
    Christian

  • Line Breaks missing in captions from other programs...

    I've spent the last few hours searching around, and I've been unable to find any solution to a weird thing I noticed.
    I've recently purchased LR 3.4.1 and when I imported a handful of older pics that had had the captions set using Bridge, the line breaks were now gone.
    I then went to Bridge and tested it, and sure enough, it can read line breaks from LR, but the opposite doesn't seem to be true. As part of my work, I get a bunch of photos that other photogs have shot and added captions to via Bridge, but I can't seem to find any check box or setting on how to get LR to read the line breaks.
    Any one have any advice on how to get LR to read line breaks from other programs? I'd hate to have to go through and re-caption each and every single photo, especially when adding the older ones into LR to use it as a DAM.
    Thanks!

    This is a long-standing, annoying bug in Windows LR that has been acknowledged by Adobe:
    http://feedback.photoshop.com/photoshop_family/topics/newline_bug_in_caption_text
    Please go to the feedback site and vote for that issue to get fixed.
    It is just a display problem in LR -- the line breaks in the metadata are preserved, and if you enter line breaks in the metadata, they are preserved too.

  • Firefox 3.6 doesn't open links clicked from other programs (IM, etc.,)

    Whenever I try to open a link from either my IM or an IRC program like mIRC it won't open in firefox. I have to copy and paste the link.

    I now have FireFox 32.0.2 no joy. I have loaded ThunderBrowse which took care of Thunderbird but still can't load links from other programs. I fixed this before (other backups, I crashed my windows C drive and have been trying to restore), but can't remember how. I think it required reloading IE (I had deleted IE on my latest restore), but I have now done that with no joy.
    When I click on a link from another program, nothing happens, and when I right click and am offered "open in browser" nothing happens, and when offered " copy browser link" it doesn't copy.
    I tried resetting FireFox, no joy.
    Noticed control panel "set program access" doesn't hold, always goes back to custom, and defaults to "uses default browser"!
    Please help!

  • Links from other programs won't open in Firefox

    This has been asked a number of times before, but none of the answers worked for me. I have Firefox 26.0 (the most stable for me) and Thunderbird 24.6.0. After a computer crash and reloading both programs, I first noticed the problem with links from Thunderbird, both clicking and right clicking with "open in browser". But then I remembered trying to open help in MS word and Frontpage which are supposed to open from the internet.
    I have checked that Firefox is the default browser, changed the file (none) file transfer protocol, then deleted it, etc. Nothing helps.

    I now have FireFox 32.0.2 no joy. I have loaded ThunderBrowse which took care of Thunderbird but still can't load links from other programs. I fixed this before (other backups, I crashed my windows C drive and have been trying to restore), but can't remember how. I think it required reloading IE (I had deleted IE on my latest restore), but I have now done that with no joy.
    When I click on a link from another program, nothing happens, and when I right click and am offered "open in browser" nothing happens, and when offered " copy browser link" it doesn't copy.
    I tried resetting FireFox, no joy.
    Noticed control panel "set program access" doesn't hold, always goes back to custom, and defaults to "uses default browser"!
    Please help!

  • How to reject ACK/NACK from other Send Ports to Orchestration

    Hi Everyone,
    I have a below scenario, Please let me your ideas how can we avoid ACK from other send ports (If there is any failures), in my current scenario getting issues or conflicts because of this
    AckRequired.
    Key points in my scenarios
    SendPort_A is pointing to SAP
    SendPort_B is pointing to SQL
    Flow
    Receive MessageA and Transform to MessageB format, send MessageB to SendPort_A which directly bind to orchestration with transmitted property enabled.
    SendPort_B subscribes the same message, output of map with message type as filter condition (we are not expecting any Acknowledge from sendPort_B, because it’s a generic send port for some scenario).
    Problem
    When I see the context properties both send ports has AckRequired
    Property to true (so getting ACK/NACK from both send ports).
    I want acknowledgement only form SendPort_A which is bind to orchestration with transmitted property enabled, but not from the SendPort_B which subscribes just with message type.
    I have tried the below points but no luck
    Created custom pipeline with custom pipeline component to set / overwrite
    AckRequired Property to false (Pipeline component is working fine, but nothing is overwriting in context, getting acknowledge back to orchestration for any failure in SendPort_B)
    #region IComponentUI
    public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
    pInMsg.Context.Write("AckRequired", "http://schemas.microsoft.com/BizTalk/2003/system-properties", false);
    return pInMsg;
    #endregion
    Below images gives some info on the same scenario.
    Appreciate your suggestions.
    Thanks, SMS Vikas K

    Hi Vikas,
    Let me know if I understood correctly.
    SendPort_B subscribes the same message, output of map with message type as filter condition (we are not expecting any Acknowledge from sendPort_B, because it’s a generic send port for some scenario).
    Problem
    You have a send port B which is subscribing to the same message using the message type.
    You can set additional filters to ignore Acknowledgement-
    Ex- Mgtype= "" AND
    AckRequired!=True OR
    AckRequired!=False 
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • How to Access Maintenance View from a program

    Hi Experts,
    I have created a maintenance view for a table. i want to insert data's into the table through the maintenance view. I don't know how to access the view, how to insert data into the Maintenance view. Please suggest me how to access the view from the program.
    with regards,
    James...
    Valuable answers will be rewarded...

    Hi,
    What is the need to search for a program.
    Use transaction SM30 or SE16 to create or maintain entries in the table.
    e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
    Regards,
    Himanshu

  • HOW TO TRIGGER AN WORKFLOW FROM A PROGRAM ?

    HELLO THERE ,
    CAN ANYBODY PLZ TELL ME HOW TO TRIGGER AN WORKFLOW FROM AN PROGRAM AND TO PAS THE VALUE TO THE CONTAINER ?

    Hello Neon,
    If you want to trigger the workflow directly, use the FM, SWU_START_WORKFLOW
    CALL FUNCTION 'SWU_START_WORKFLOW'
      EXPORTING
        task                  =
    *   LANGUAGE              = SY-LANGU
        user                  =
    *   SENDER_ID             =
    * IMPORTING
    *   RETURN_CODE           =
    *   WORKITEM_ID           =
      tables
    *   CONTAINER             =
    *   MESSAGE_LINES         =
        attachment_list       =
    A workflow can also be triggered by and event which is in turn triggered by a program.
    By the FM, SWE_CREATE_EVENT
    Example:
    w_key = 'Connie'.
      w_creator-otype = 'US'.
      w_creator-objid = 'SAPDEV02'.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype                       = 'YH_BUDDIES'
          objkey                        = w_key
          event                         = 'event'
         creator                        = w_creator
    *     TAKE_WORKITEM_REQUESTER       = ' '
    *     START_WITH_DELAY              = ' '
    *     START_RECFB_SYNCHRON          = ' '
    *     NO_COMMIT_FOR_QUEUE           = ' '
    *     DEBUG_FLAG                    = ' '
    *     NO_LOGGING                    = ' '
    *     IDENT                         =
    *   IMPORTING
    *     EVENT_ID                      =
    *   TABLES
    *     EVENT_CONTAINER               =
       EXCEPTIONS
         objtype_not_found              = 1
         OTHERS                         = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        WRITE: / 'EVENT TRIGGERED'.
      ENDIF.
      COMMIT WORK.
    Hope it helps you.
    Regards
    Indu.

  • How to raise an event from a program

    Hi,
    I am creating a workflow for HR, the person will request a basic pay change than, this will start the workflow. For this i am making a screen from where i need to triger the event for the workflow.
    Does anybody has any idea? of how to raise an event from a program. or has anybody worked on a scenario like this
    Khusro Habib

    You can also use the FM SAP_WAPI_CREATE_EVENT which is a little newer I think. (I don't have access to a system today so that may not be the exact name of the FM but if you search SE37 under SAPWAPIEVENT* you should find it.
    the parameters will be the event name, and the object key.  The object key will be the key field of the workflow object you are using. 
    For example if you were using the saled document object then the object key would be the sales document number.  Carefull how you enter the object key, it can be a little tricky on whether or not you need the leading zeros in the input parameter. 
    Hope this helps.
    Brent

  • Does anyone know how to convert the output from the standard report to xml?

    Does anyone know how to convert the output from the standard SAP report to xml?

    since it a standard report which you cannot modify you can only do the following.
    submit report exporting list to memory
    then
    list from memory and then
    use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
    but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list .

  • How can i move contacts from other accounts (eg: gmail,hotmail etc) to icloud account.

    Hi All,
    I have setup icloud in my Iphone 6 running 8.1.2. and it is logged in by enabling Contacts in icloud settings. My contact list contains 1718 Contacts. I manually backed up my data into icloud including my contacts without Passbook & Documents data. But when i logged into iCloud.com to see the contacts it is not there.
    I also find when i checked only the Icloud contacts "there are no contacts showing in my contact list". I think this is the reason why there is no contacts in icloud web too. Then how can i move contacts from other accounts (eg: gmail,hotmail etc) to icloud.

    I assume you're using GMail as your primary e-mail account?  Try this.  This is how I am setup.  Not only will it move all your contacts to your phone but any changes made in GMail or on the iPhone will be sync'd with the server.
    http://www.google.com/support/mobile/bin/answer.py?answer=138740
    Note... I think this will delete your existing contacts from your device.  You will want to use iTunes to back them up and get them imported into GMail before you sync your device wtih GMail.

  • HT5958 This new closed Library system stinks. Now you can't access media from other programs. Any work around?

    Let me start by saying I have been using FCP X for a year now and really love it.  We produce a half hour weekly TV series so I put it through its paces on a weekly bases.
    I was horrified to return from the holidays to find out that an automatic update yielded a whole new file system.  By packaging all of the Final Cut Event and Project folders into a single library file you can no longer access the original media from other programs such as Photoshop and After Effects without making two copies of all of the media.  This really cuts into the pipeline.  In the past we were able to recreate new show opens and transitions quickly from within After Effects by linking to the original media in the event folders to use them as source files in compositions.  The same was true of grabbing frames from Original movies for use in Photoshop for promotional materials.  With the use of the Libraries, ALL OF THE LINKS ARE BROKEN.  Yes I know you can right click on a library and still view the files, yes they are still there, but you can't do that from within another program. 
    This Library system doesn't make any sense.  Its a step back from the old system.  It was much easier, quicker, and efficient to move large event libraries and projects off and on the system and backup using Finder.  Now you have to open up Final Cut to do everything and its a lot slower.
    I want to appeal to any Apple developers who monitor this to return to the old system of file management. 

    Media does not have to be stored inside the library. Use the Consolidate library or event to move it to an external location.

Maybe you are looking for

  • Auto clearing of customer open items

    Dears, We have implemented for a retail client, wherein we create sale order, collect money, deliver and billing. The collection will generate multiple document since it will be many types (cash, cheques, card, span, transfer etc), my requirement is

  • How to use Sequence in condition??? @_@

    Could anyone please help me? I'm writting a small SQL script, and some statements are as following: select errcat_id, error_type from v_error_cat; update t_error set error_type = (select error_type from v_error_cat where ERRCAT_ID = &&ERRCAT_ID)*** w

  • Safari is locked how do I unlock it

    I was surfing on the IPad last night and for some reason the screen locked.  I can get into and change the address line, but everything below it is kind of grayed out.  Can't click on anything. Can't bring up a new screen.  Can't get into bookmarks..

  • 64-bit or 32-bit Intel?

    I am assuming these new Intel machines are still the old 32-bit style. Is this correct? What are we sacrificing for back stepping? I work in a PC environment office with my G5 and it's amazing how much clearer and brigher my monitor (we all have the

  • UNABLE TO GET SALARY BASED ON HOURS ( POSITVE TIME MANAGMENT )

    Hi Vivek,                 Your document was great.        I am implementing positive time management and at present i am entering the clock in and clock-out in IT-2011 manually for testing and when i run PT60 using TM00 schema it was not showing any