Can we add listener to some component using reflection ?

Hi,
I have a third party swing application. I am trying to invoke it from my application by calling its main() method using reflection and it works!
Then I try to attach the mouseMotionListener to its components using reflection but cannot succeed. Is it possible to do that?? If yes then how?
Thanks in advance

You shouldn't need reflection for this. Assuming it's a JFrame, JDialog or JWindow (any RootPaneConatiner), just call getContentPane() and recursively iterate through its children, adding MouseListeners along the way (or wherever you find a component of a type you're interested in, for example ignore things like JPanels, JLabels, etc.).
FYI - you also shouldn't need reflection to call an application's main() method, assuming you already know what the class is that contains that main() method.

Similar Messages

  • Can i add watermarks to PDF files using the PDF Pack?

    Can i add watermarks to PDF files using the PDF Pack?

    Hi Susannah,
    Adobe PDF Pack does not allow you to edit a PDF file. For that, you would need Acrobat. You're welcome to try Acrobat for free for 30 days: see http://www.adobe.com/products/acrobat.html for more information.
    This Help document describes how to watermark a PDF in Acrobat: Add watermarks to PDFs
    Best,
    Sara

  • How come I can't add lyrics to some music?

    For some reason I can't add lyrics to some music files.  The lyrics tab is gray'ed out.  What gives?

    Select such a song in iTunes then select File > Show in Finder. In the Finder, select File > Get Info.
    Under "General", what is its "Kind"?
    At the bottom of the Get Info window, under "Sharing & Permissions" does it say "You can read and write"?

  • Can I add a bookmark when I using Adobe reader on my ipad?

    Can I add a bookmark when I using Adobe reader on my ipad?

    Hey Vicky,
    Using Adobe Reader on your iPAD, you cannot add new bookmarks.
    But, you can navigate bookmarks in the PDF added by the author.
    Regards,
    Anubha

  • Help! can i get a tree view component used in jsp ,urgent!!

    hello all
    can i get a tree view component can be used in jsp ,it gets children data from database only when user expand one node, and it must be able to add nodes or removes node by user,so i can do some post handler in my database.
    regards!

    Where did you get this tree view component?

  • Can't add a new card or use paypal keep getting an...

    I have tried every way possible to add a new card even tried useing my paypal to reset my subscription, every time I try I keep getting an enternal server error. I have 2 days left on my old subscription and I run a buissness so need my calling plan. I had to add a new card because mine expires at the end of the month but just can't get it to go through to verify it just keeps saying enternal error has occuried, and same way when I tried to just pay it with my paypal account. really could use some help here with this, can't afford to lose my subscription.
    Ty;
    Andrew

    There's no practical limit on the size of address books:
    http://kb.mozillazine.org/Limits_(Thunderbird)#Address_books
    but if you can't add or delete contacts, the book is probably corrupted, and the usual remedy is to export, delete and re-import:
    https://support.mozilla.org/en-US/questions/996474#answer-561758

  • Can't add markers to SOME subclips but can add them to others

    Hi. First time poster, I hope I'm not accidentally posting this in the wrong section. I have scoured the discussions for this problem or I wouldn't dry your eyeballs with this.
    Suddenly, right in the middle of editing, I can no longer ADD markers to some specific clips in my bin. It is the oddest thing. In anticipation of questions, I'll give every detail I can conjure, I hope I'm not being too verbose but it's a very puzzling situation.
    - The "problem" subclips, to which I can suddenly no longer add markers, at one point had completely normal marker functionality. There's pre-existing markers on these clips that are now no longer editable (with the M or ` key), and every marker menu item under mark -> markers is greyed out, EXCEPT for "add" and "delete all..." neither of which work on the problem clips anyway. These are all functions that work as usual on the non-problem clips.
    - Within the problem subclips, I can still navigate to the next and previous markers, with shortcut keys and menu commands. But when I hit M on a marker in a problem clip, nothing happens. And when I hit M in a "blank" space in a problem clip, again, nothing happens, i.e., no marker is added. Nor do the menu commands pertaining to markers function.
    - the clips in question are subclips, but so are the clips that have absolutely no problem with marker functionality.
    - the clips not having this problem, which outnumber those that do, are not only in the same format, same media, same compression, from the same tape, captured in the same session and on the same drive but are even from the same "master clip" as their problematic siblings.
    - the master clip in question has normal marker functionality.
    - brand new subclips from that master clip have normal marker functionality, even if their in and out points are identical to the problem subclips...but then again, that's not surprising, since the old ones had "normal births," too.
    - if I copy and paste the problem subclips in the bin, the copies have the same problem.
    - if I "duplicate as new master clip" the problem subclips in the bin, the duplicates have the same problem.
    - I can still edit the markers on the problem clips by right-clicking the drop-down list of markers IN THE BIN and selecting "edit." I can also delete them there by selecting them in the bin and hitting the delete key.
    - doing so does not enable me to add more markers. Which reminds me:
    - I am not doing something weird with markers - even if there was a quota on markers, I imagine I'm nowhere near it. it just seems like I'm the "crazy marker guy" because you're reading six pages of me talking about markers. I'm not the crazy marker guy. I'm an ordinary man with a crazy marker problem. I use markers the way you do. I mark the beginnings of takes and noteworthy reactions, etc....there's maybe an average of 15 note markers in each subclip, but plenty of "functioning" subclips from the same master clip have more markers than the problem ones.
    - yeah, I quit and restarted FCP. And my computer. Yeah, my "M" key works (look how many times I've used it), My mouse is plugged in, I combed my hair, my software's not stolen, I purged my render files and, believe it or not, I only had one coffee this morning.
    - I haven't been working with FCP so long that I can say I have or haven't had this problem with non subclips. I've only done a couple projects with FCP so far...this one is not unusual in comparison, but this is definitely the first problem I've ever had with FCP.
    - If you have read this far, you are hero not just to me, but to all of humanity.
    - if you have the solution, you are a God or I am an idiot, I am praying for either to be the case and I'm not picky. Seriously, thanks in advance to anyone that wastes their brain on this.

    Figure I may as well update this thread with the different things I try. I know this makes for compelling reading and I don't want to deny you the story.
    - I deleted the Final Cut plist file from the preferences folder, which not only had no impact on the problem, but no apparent impact on Final Cut, which is weird, but, one riddle at a time.
    - I went through my autosave vault on the scratch disk, which deepened the confusion for me: each of the three problem-clips had a specific time before and after they became frozen to marker activity. I loaded the autosaved project from 11 am, for instance, and apparently, at that time, the most recent clip to become marker-locked was still working fine, but the other two weren't. A few hours earlier than that, only one of them had the problem, and at about 6:30 this morning, the problem didn't exist.
    An important thing to note is that the order in which these clips became marker-locked follows the order in which I went through them, marked their takes and moved on.
    I didn't notice the problem with any of them until much later - when a creative shift prompted me to add some new marks, at which point I realized that for three of my clips, I couldn't.
    So, if this problem is being triggered by me, it's happening not during actual marking (I would have noticed), but during the things I do with marked clips, namely shuttling through them with the JKL keys, jumping to each of the markers, setting in and out points and inserting them into the timeline.
    Is there some key it's possible for a less than attentive, sleep deprived, FCP newbie to hit, during that activity, that "locks" the current clip to the addition and adjustment of markers? As sensitive as my ego is, I really want this to be my fault so I can learn the problem and avoid it forever. I don't want to think there's some supernatural time bomb glitch in the one copy of FCP I bought that causes random clips to slowly dry like cement after which they can never be marked again.

  • Add listener to Grid Infrastructure using srvctl.

    Hi,
    We have a two node 11.2.0.3 Grid Infra cluster running on SLES11 Linux.
    Everything is ok with the SCAN and standard listeners.
    However we have a listener running on each node which is used by Oracle Gateway. These listeners were created manually using info provided by Oracle (i.e. definition copied to $ORACLE_HOME/network/admin/listener.ora and started using lsnrctl). This all works.
    These listeners are currently not managed by Grid Infra. We would like them to be.
    I thought this was easy enough using srvctl to register them with Grid Infra using...
    srvctl add listener -n mynode1 -l LISTENER_MYNODE1_GW -o $ORACLE_HOME -p 1529
    srvctl add listener -n mynode2 -l LISTENER_MYNODE2_GW -o $ORACLE_HOME -p 1529
    These commands worked but did give a warning stating that the -n flag is deprecated and will be ignored.
    This has left us with the following listener config....
    grid@MYNODE1:~> srvctl status listener -n mynode1 | grep mynode
    Listener LISTENER_MYNODE1_GW is enabled on node(s): mynode1
    Listener LISTENER_MYNODE1_GW is not running on node(s): mynode1
    Listener LISTENER_MYNODE2_GW is enabled on node(s): mynode1
    Listener LISTENER_MYNODE2_GW is not running on node(s): mynode1
    grid@MYNODE1:~> srvctl status listener -n mynode 2 | grep mynode
    Listener LISTENER_MYNODE1_GW is enabled on node(s): mynode2
    Listener LISTENER_MYNODE1_GW is not running on node(s): mynode2
    Listener LISTENER_MYNODE2_GW is enabled on node(s): mynode2
    Listener LISTENER_MYNODE2_GW is not running on node(s): mynode2
    You can see that Grid Infra knows about the listeners but they are available on both nodes. What we would like is a result like the following example....
    grid@MYNODE1:~> srvctl status listener -n mynode1 | grep mynode
    Listener LISTENER_MYNODE1_GW is enabled on node(s): mynode1
    Listener LISTENER_MYNODE1_GW is not running on node(s): mynode1
    grid@MYNODE1:~> srvctl status listener -n mynode 2 | grep mynode
    Listener LISTENER_MYNODE2_GW is enabled on node(s): mynode2
    Listener LISTENER_MYNODE2_GW is not running on node(s): mynode2
    i.e one listener registered with just the node it is running on. This used to be possible with using the -n flag but no longer works. Does anyone have any advice on how to achive this in 11gR2.
    Any input appreciated,
    Regards
    ma365

    Hi get the info of the listener and the scan -[listeners]
    Execute the statements from the GRID infrastructure.
    srvctl config listener [-l listener_name] [-a] this gives the info how the listener is register in to the OCR.
    alternative:
    Execute the steps to add a listener.
    srvctl add listener -l crmlistener -p TCP:1533 -o {CRS_HOME}
    srvctl enable listener -l crmlistener
    srvctl start listener -l crmlistener
    srvctl config listener -l crmlistener -a
    lsnrctl status crmlistener
    See what the result of this exercise is, working then convert to this method
    Cheers,
    Jos van den Oord
    Blog : [Joords Oracle DBA blog|http://joordsblog.vandenoord.eu/]
    Company : [Transfer-solutions.com|http://www.transfer-solutions.com/]

  • Can I add a SSLv3 exception to use a site?

    need to add an exception for Leaseplan as they send me links in order for me to submit invoices for payment. Each link is unique how can I add an SSLv3 exception for them.

    You can try https://addons.mozilla.org/firefox/addon/ssl-version-control/ when you really need to as SSL 3.0 is vulnerable. Do make sure the minimum is TLS 1.0 when possible.
    In '''about:config''' you can right-click and Modify '''security.tls.version.min''' from '''1''' to '''0'''
    Depending on site you may need to Modify '''security.tls.version.fallback-limit''' from 1 to 0 also as otherwise it may still use TLS 1.0 as the minimum.
    After you are done you should right-click these Preferences and select Reset to set them back to default to be safe and not vulnerable in case you use a site that you thought was secure and is not secure due to still using SSL 3.0.
    You can check your site at below link to see its current status. https://www.ssllabs.com/ssltest/analyze.html
    You should contact the site and ask them them to upgrade as they are vulnerable.
    https://blog.mozilla.org/security/2014/10/14/the-poodle-attack-and-the-end-of-ssl-3-0/

  • How can we add attachment in the PO using BAPI

    How can we add attachment in the PO? I am using the BAPI_PO_CREATE1 function module to create the PO. I am getting a file from legacy system, this I need to add as an attachment into the particular PO through programming.
    Note: After creation of PO the attachment should be available in ME23n transaction.

    REPORT  ZBAPI_PO_CRATE.
    data : PO_HEADER like BAPIEKKOC.
    data : PO_HEADER_ADD_DATA like BAPIEKKOA.
    data : PO_ITEMS like BAPIEKPOC occurs 0 with header
    line.
    data : PO_ITEM_SCHEDULES like BAPIEKET occurs 0 with
    header line.
    data : RETURN like BAPIRETURN occurs 0 with header
    line.
    DATA : BEGIN OF TAB OCCURS 0,
           PO_NUMBER like BAPIEKKOC-PO_NUMBER,
           DOC_DATE(10),
           DOC_TYPE like BAPIEKKOC-DOC_TYPE,
           CO_CODE like BAPIEKKOC-CO_CODE,
           PURCH_ORG like BAPIEKKOC-PURCH_ORG,
           PUR_GROUP like BAPIEKKOC-PUR_GROUP,
           VENDOR like BAPIEKKOC-VENDOR,
           PMNTTRMS like BAPIEKKOA-PMNTTRMS,
           INCOTERMS1 like BAPIEKKOA-INCOTERMS1,
           INCOTERMS2 like BAPIEKKOA-INCOTERMS2,
           PO_ITEM like  BAPIEKPOC-PO_ITEM,
           MATERIAL like BAPIEKPOC-MATERIAL,
           PUR_MAT like BAPIEKPOC-PUR_MAT,
           ITEM_CAT like BAPIEKPOC-ITEM_CAT,
           PLANT like BAPIEKPOC-PLANT,
           NET_PRICE like BAPIEKPOC-NET_PRICE,
           TAX_CODE like BAPIEKPOC-TAX_CODE,
           DELIV_DATE(10),
           QUANTITY like BAPIEKET-QUANTITY,
         end of tab.
    data: itab1 like alsmex_tabline occurs 0 with header
    line.
    DATA: gd_currentrow type i.
    data : PURCHASEORDER like ekko-ebeln.
    Data: tot_rec type i,     "Total Records
         gd_update type i,   "Main Table Increement
    Counter
         gd_lines type i,    "Success Table increement
    Counter
         w_textout like t100-text. "VARIABLE TO GET ERROR
    LOG
    data : begin of it_success occurs 0,
            PURCHASEORDER LIKE ekko-ebeln,  "PROJECT
          end of it_success.
    data : begin of it_error occurs 0,
            pono like  ekko-ebeln,
            err_msg(73) TYPE c,    "TO RETREIVE ERROR
    MESSAGES
         end of it_error.
    data : pono like  ekko-ebeln.
    selection-screen begin of block b1 with frame.
    skip 3.
    parameter:p_infile like rlgrap-filename obligatory.
    skip 3.
    selection-screen end  of block b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_infile.
      PERFORM value_help.
    start-of-selection.
      call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_infile
          i_begin_col             = '1'
          i_begin_row             = '2' "Do not require
    headings
          i_end_col               = '22'
          i_end_row               = '10000'
        TABLES
          intern                  = itab1
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          others                  = 3.
      if sy-subrc <> 0.
        message e010(zz) with text-001. "Problem uploading
    Excel Spreadsheet
      endif.
    *perform open_group.
      sort itab1 by row col.
    * Get first row retrieved
      read table itab1 index 1.
    * Set first row retrieved to current row
      gd_currentrow = itab1-row.
      loop at itab1.
    * Reset values for next row
        if itab1-row ne gd_currentrow.
          append tab .
          clear tab.
          gd_currentrow = itab1-row.
        endif.
        case itab1-col.
          when '0001'. "PGNAM
            TAB-PO_NUMBER = itab1-value.
          when '0002'. "RONAM
            TAB-DOC_DATE = itab1-value.
          when '0003'. "JVLEVEL
            TAB-DOC_TYPE = itab1-value.
          when '0004'. "FTTYPE
            TAB-CO_CODE = itab1-value.
          when '0005'. "LANG
            TAB-PURCH_ORG =  itab1-value.
          when '0006'. "LTEXT
            TAB-PUR_GROUP = itab1-value.
          when '0007'. "LTEXT
            TAB-VENDOR = itab1-value.
          when '0008'. "LTEXT
            TAB-PMNTTRMS = itab1-value.
          when '0009'. "LTEXT
            TAB-INCOTERMS1 = itab1-value.
          when '0010'. "FTTYPE
            TAB-INCOTERMS2 = itab1-value.
          when '0011'. "FTTYPE
            TAB-PO_ITEM = itab1-value.
          when '0012'. "FTTYPE
            TAB-MATERIAL = itab1-value.
          when '0013'. "FTTYPE
            TAB-PUR_MAT = itab1-value.
          when '0014'. "FTTYPE
            TAB-ITEM_CAT = itab1-value.
          when '0015'. "FTTYPE
            shift itab1-value left deleting leading space.
            TAB-PLANT = itab1-value.
          when '0016'. "FTTYPE
            TAB-NET_PRICE = itab1-value.
          when '0017'. "FTTYPE
            TAB-TAX_CODE = itab1-value.
          when '0018'. "FTTYPE
            TAB-DELIV_DATE = itab1-value.
          when '0019'. "FTTYPE
            TAB-QUANTITY = itab1-value.
        endcase.
      endloop.
      append tab.
      clear tab.
      sort tab by PO_NUMBER.
      DELETE TAB WHERE PO_NUMBER = SPACE.
      loop at tab.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-material
          IMPORTING
            OUTPUT = tab-material.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-PUR_MAT
          IMPORTING
            OUTPUT = tab-PUR_MAT.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-vendor
          IMPORTING
            OUTPUT = tab-vendor.
        concatenate tab-doc_DATE+4(4) tab-doc_DATE+2(2)
    tab-doc_DATE+0(2)
    into tab-doc_DATE.
        concatenate tab-DELIV_DATE+4(4)
    tab-DELIV_DATE+2(2)
    tab-DELIV_DATE+0(2) into tab-DELIV_DATE.
        pono = tab-PO_NUMBER.
        if tab-po_number = pono.
          PO_HEADER-DOC_DATE = tab-DOC_DATE.
          PO_HEADER-DOC_TYPE = tab-DOC_TYPE.
          PO_HEADER-CO_CODE  = tab-CO_CODE.
          PO_HEADER-PURCH_ORG = tab-PURCH_ORG.
          PO_HEADER-PUR_GROUP = tab-PUR_GROUP.
          PO_HEADER-VENDOR = tab-VENDOR.
          PO_HEADER-PO_NUMBER = tab-PO_NUMBER.
          PO_HEADER_ADD_DATA-PMNTTRMS = tab-PMNTTRMS.
          PO_HEADER_ADD_DATA-INCOTERMS1 = tab-INCOTERMS1.
          PO_HEADER_ADD_DATA-INCOTERMS2 = tab-INCOTERMS2.
          PO_ITEMS-PO_ITEM = tab-PO_ITEM.
          PO_ITEMS-MATERIAL = tab-MATERIAL.
          PO_ITEMS-PUR_MAT = tab-PUR_MAT.
          PO_ITEMS-ITEM_CAT = tab-ITEM_CAT.
          PO_ITEMS-PLANT = tab-PLANT.
          PO_ITEMS-NET_PRICE = tab-NET_PRICE.
          PO_ITEMS-TAX_CODE = tab-TAX_CODE.
          append po_items.
          PO_ITEM_SCHEDULES-PO_ITEM = tab-PO_ITEM.
          PO_ITEM_SCHEDULES-DELIV_DATE = tab-DELIV_DATE.
          PO_ITEM_SCHEDULES-QUANTITY =  tab-QUANTITY.
          append PO_ITEM_SCHEDULES.
        endif.
        at end of PO_NUMBER.
          CALL FUNCTION 'BAPI_PO_CREATE'
            EXPORTING
              PO_HEADER                        = PO_HEADER
             PO_HEADER_ADD_DATA               =
    PO_HEADER_ADD_DATA
    *           HEADER_ADD_DATA_RELEVANT         =
    *           PO_ADDRESS                       =
    *           SKIP_ITEMS_WITH_ERROR            = 'X'
    *           ITEM_ADD_DATA_RELEVANT           =
    *           HEADER_TECH_FIELDS               =
           IMPORTING
             PURCHASEORDER                    =
    PURCHASEORDER
            TABLES
              PO_ITEMS                         = PO_ITEMS
    *           PO_ITEM_ADD_DATA                 =
              PO_ITEM_SCHEDULES                =
    PO_ITEM_SCHEDULES
    *           PO_ITEM_ACCOUNT_ASSIGNMENT       =
    *           PO_ITEM_TEXT                     =
             RETURN                            = RETURN
    *           PO_LIMITS                        =
    *           PO_CONTRACT_LIMITS               =
    *           PO_SERVICES                      =
    *           PO_SRV_ACCASS_VALUES             =
    *           PO_SERVICES_TEXT                 =
    *           PO_BUSINESS_PARTNER              =
    *           EXTENSIONIN                      =
    *           POADDRDELIVERY                   =
          if PURCHASEORDER <> space.
            commit work.
            ADD 1 TO gd_update.
            it_success-PURCHASEORDER = PURCHASEORDER.
            append it_success.
    clear:PO_HEADER,PO_HEADER_ADD_DATA,PURCHASEORDER.
            refresh : PO_ITEMS,PO_ITEM_SCHEDULES,RETURN.
          ELSE.
            loop at return.
              it_error-pono = tab-PO_NUMBER.
              it_error-err_msg = return-MESSAGE .
              Append it_error.
            ENDLOOP.
    clear:PO_HEADER,PO_HEADER_ADD_DATA,PURCHASEORDER.
            refresh : PO_ITEMS,PO_ITEM_SCHEDULES,RETURN.
          endif.
        endat.
      endloop.
      DESCRIBE TABLE it_success LINES gd_lines.
      IF gd_lines GT 0.
    *     Display result report column headings
        PERFORM display_column_headings.
    *     Display result report
        PERFORM DISPLAY_SUCESS.
      ENDIF.
    * IF SUCESS FAILS Display Error Report
      DESCRIBE TABLE it_error LINES gd_lines.
      IF gd_lines GT 0.
        PERFORM errorheadings.
        PERFORM errorreport.
      ENDIF.
    *&      Form  display_column_headings
    *       text
    FORM display_column_headings.
      WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
      SKIP.
      WRITE:2 'The following records inserted
    successfully:'(013).
      WRITE:/ sy-uline(15).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
               (10) 'Purchase order'(004), sy-vline.
      WRITE:/ sy-uline(15).
    ENDFORM.                    "display_column_headings
    *Subroutine to display SUCESS REPORT
    FORM DISPLAY_SUCESS.
      FORMAT COLOR COL_NORMAL.
      LOOP AT it_success.
        WRITE:/      sy-vline,
            (10)  it_success-PURCHASEORDER, sy-vline.
        CLEAR it_success.
      ENDLOOP.
      WRITE:/ sy-uline(15).
      REFRESH: it_success.
      FORMAT COLOR COL_BACKGROUND.
    ENDFORM.                               "
    DISPLAY_REPORT
    *&      Form  errorreport
    *       text
    FORM errorreport.
      LOOP AT it_error.
        WRITE:/      sy-vline,
                (10) it_error-pono, sy-vline,
                 (40) it_error-err_msg, sy-vline.
      ENDLOOP.
      WRITE:/ sy-uline(104).
      REFRESH: it_error.
    endform.                    "errorreport
    *&      Form  ERRORHEADINGS
    *       text
    FORM ERRORHEADINGS.
      SKIP.
      WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.
      SKIP.
      WRITE:2 'The following records failed during
    update:'(008).
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
              (10) 'ERROR.'(009), sy-vline.
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_NORMAL.
    ENDFORM.                    "ERRORHEADINGS
    **&      Form  value_help
    **       text
    **  -->  p1        text
    **  <--  p2        text
    FORM value_help .
      CALL FUNCTION 'DSVAS_DOC_WS_FILENAME_GET_50'
        EXPORTING
          DEF_FILENAME     = ' '
          DEF_PATH         = ' '
          MASK             = ',*.*,*.*.'
          MODE             = 'O'
          TITLE            = ' '
        IMPORTING
          FILENAME         = p_infile
        EXCEPTIONS
          INV_WINSYS       = 1
          NO_BATCH         = 2
          SELECTION_CANCEL = 3
          SELECTION_ERROR  = 4
          OTHERS           = 5.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endform.                    "value_help

  • HT201209 Can I add to my iTunes account using my credit card?

    Can you add to your iTunes account total with a credit card, or is a iTunes card the only way to add money?

    If you add a credit card, it won't count towards the total; instead, it'll be charged after the gift card balance is used up, or when buying gifts.
    (102727)

  • How can I add border at some words in a JTextPane?

    Hi,
    With the class StyleConstants I can modify the paragraph attributes, character constants, font constants, ... But, howcan I add border at some words in a JTextPane?

    The simplest way is to add your own custom attibute to character element of your document (by setCharacterAttributes()) method. And override LabelView. In the paint method of the LabelView just check whether parent element's attributes contains the attribute.
        public void paint(Graphics g, Shape allocation) {
            super.paint(g, allocation);
            if  (containsAttribute) {
               ((Graphics2D)g).draw(allocation);
        }regards,
    Stas

  • How can I add roles or features with using WMI?

    Can I add features in Windows server 2008/2012 with using WMI? I found only how to see installed features, but can`t found anything in my question. Can anybody help?

    Hi,
    I agree with Ed’s suggestion. Just in addition, you can install roles, role services, or features via
    Install-WindowsFeature PowerShell cmdlets. Please refer to following TechNet article and check if can help you.
    Install-WindowsFeature
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu

  • I can't add attachments to my hotmail using safari

    I can't add attachments to my Hotmail... using Safari.....

    This probably is known with older versions of Silverlight, but from what I remember Silverlight only runs on Intel Macs.  PPC indicates PowerPC.  Are you sure you have a PowerPC Mac?  Go to Apple menu -> About This Mac.

  • My husband and I both use the same Apple ID, but we can't use his number for iMessaging or FaceTime on his iPad and still have access to all our other music and apps... How can I add his number to be used?

    I want to use my husband's contact number on his iPad so that we can iMessage and especially FaceTime, but we share the same Apple ID. This works fine on our phones, why can't we have the option to use his contact number on his iPad the same way? This iPad can only be used with WiFi (contrary to what we were told upon purchasing it...). Anyone have any helpful advice??

    This is not an area where I have any expertise, but you may want to consider using separate Apple IDs and using the recently released Family Sharing capabilities which still allow you to share your music and apps.
    http://www.apple.com/ios/whats-new/family-sharing/
    https://www.apple.com/support/icloud/family-sharing/

Maybe you are looking for

  • Can no longer send/receive MMS from Non-iPhones

    Just recently (after I updated my iPhone 4S to the iOS 7.0.4), I have been unable to send or receive MMS messages from anyone who does not have an iPhone. I've tried to restart my phone and reset my network settings (temporary fix - it'll let me send

  • Album artwork/screen saver problem

    I having a similar problem too like most on here, but it has a slight twist to it. This is just recent happened to me and I am not sure if any other people on here has experienced it. I was adding some music and my iTunes loaded the music into my lib

  • HELP with setInterval problems!!! Lagging / Delaying problems!

    Hello! Well I am creating a project that involves music, and the flash should play a song and do something to it's beat... I have the song's BPM (beats per minute) data, and it's stored as a variable. I tried to animate something according to it usin

  • Freeview interference on TV tuner & DVD tuner but ...

    I've got a weird problem that's been plagueing me on & off for the past couple of months... Intermittently but at no specific times, the freeview signal from the TV tuner and the DVD/HDD recorder become pixellated but the Freeview signal from the BT

  • Problems using LocateRegistry.createRegistry and getRegistry

    In my server, I create the registry: Registry registry = LocateRegistry.createRegistry(1099);This creates a new rmiregistry process at the localhost, so the URL should be //localhost:1099 Then I call: registry.rebind("shapes", shapes);The server runs