Different jpopup menus items depending on content in a Jtable cell

Hi,
Is it possible if a popup menu have different items in it, depending on the content of a jtable cell??
I would be greatful if any one could point me in the right direction.
Thanks
Venus

In the mouse listener where you are displaying the popup, change it as appropriate before displaying it.

Similar Messages

  • Vector a content of a JTable cell

    I seee that you can put object into a cell in a JTable such as Integer and Boolean. Is it possible to put a vector in the cell and then use a custom cell renderer to display that vector graphically. I would very much appreciate a quick example!!!
    Thanks - happy new year lets hope its a better one

    I have looked there but didnt really understand it to well. I have a cellrenderer that draws the appropriate stuff but not based upon the value in the cell. Is it to do with the getColumnClass methods? If so what do I need to put in my table model and how does the renderer know?
    Thanks

  • Cannot join tables .item dependency not found in EUL

    cannot join tables.item dependency "a04 currency->b27 exchange rate 1" not found in EUL
    I am not able to open a workbook in discoverer in user edition.
    It seems I unwittingly deleted a join in the end user layer. I have tried to redo the join but I have not been able to replicate the join required. Is there any way I can work around this join without having to scrap my workbook? Rebuilding the workbook took a long time.
    Any suggestions would dig me out of a deep hole

    Hey,
    I got this Error after our environment was cloned from APPS Production (PRD) instance to Development (DEV). I saved my workbooks that were 'under construction' as *.DIS files as local copies to the network.
    After the clone was finished I imported the latest Business Areas back onto DEV, but there was no way I could open my saved local workbooks due to the error "cannot join tables .item dependency not found in EUL".
    After some hours of rage, by accident we found out that one of our Functional Consultants was able to open these workbooks! It turned out that when I logged on to APPS under the user_name (from FND_USER) of this person I could indeed open the workbooks and save them to the database after which I could open them again with my own user.
    So -in this case- I solved the problem by using a different user to open the workbooks. But who knows next time...
    Good luck, you'll need it.

  • How can we assign different colours to different records(line items) in alv

    how can we assign different colours to different records(line items) in alv reporting?

    Hi Friend,
    Please see this SDN Wiki  for setting the color in ALV :[http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP-DevelopingInteractiveALVReportusing+OOABAP]
    There are so many SDN Wiki's on this  just try with search  Alv Color display in SDN,
    Regards,

  • Can two different Apple ID's share itunes content? if so , how do i set this up?

    Can two different Apple ID's share itunes content? If so , how do i set this up?

    Hello mqg13,
    Thanks for using Apple Support Communities.
    How do you mean "share iTunes content?" You are able to purchase and download from one Apple ID on multiple devices, simply follow the steps in the article below:
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/HT4627
    Take care,
    Alex H.

  • How to set different color for items in selectManyCheckbox

    hi,
    I would like to change item text background color for each item on selectManyCheckbox (different for each item).
    It is only 5 items so that could be static reference or select.
    I know only how to change background for all items
    af|selectManyCheckbox::item-text {
        background:orange;
    How to select concrete item text and change color for only them?
    I found similar problem:
    css - Set background color of every individual checkbox of p:selectManyCheckbox - Stack Overflow
    but this dont work for me because I dont have in adf tr structure
    I need somethink like this:
    af|selectManyCheckbox::item-text XXXX - select here one of the item by number on list or id  {
        background:orange;

    hi,
    thanks Alejandro and Federico for answers.
    I use JDev 11.1.1.6. I dont write it in previously post because I think that is a more css then adf problem.
    I have 5 selectItem based on simple List<String> {"text1", "text2", "text3", "text4". "text5"}:
    <af:selectManyCheckbox label="List" id="smc2"
                                               layout="horizontal"
                                               value="#{bean.listInBean}"
                                               autoSubmit="true">
                          <af:selectItem label="text1" value="text1" id="si47"/>
                          <af:selectItem label="text2" value="text2" id="si43"/>
                          <af:selectItem label="text3" value="text3" id="si46"/>
                          <af:selectItem label="text4" value="text4" id="si45"/>
                          <af:selectItem label="text5" value="text5" id="si44"/>
                        </af:selectManyCheckbox>
    and I would like to color first selectItem text to orange, second to red.. etc, The list is a static list. Not would be changed.
    After Alejandro answer I build simple for each element (anyCollection contains item with two fields: textValue and label {(text1,text1), (text2,text2)...}
      <af:forEach items="#{bean.anyCollection}"
                                      var="item">
                            <af:selectItem id="si48" value="#{item.textValue}"  styleClass="yourClassName#{var.index}"
                                           label="#{item.label}"/>
                          </af:forEach>
    And now if I have my var called "item" I can write 5 css style classe yourClassName#{var.index} with different color, but there is a problem:
    Attribute styleClass is not defined for af:selectItem
    If it will be so simple I will just add 5 style classes for each selectItem
    <af:selectItem label="text1" value="text1" id="si47" styleClass="yourClassName0"/>
    <af:selectItem label="text2" value="text2" id="si43" styleClass="yourClassName1"/>
    Should I use other component then adf facer rich?

  • JOIN ON 2 different sets of table depending on the result of first set

    <br>
    I have a query where it returns results. I want to join this query to
    2 different sets of table depending upon the first set has a result or not.
    if first set didnt had a results or records then check for the second set.
    SELECT 
    peo.email_address,
    r.segment1 requistion_num,
    to_char(l.line_num) line_num,
    v.vendor_name supplier, 
    p.CONCATENATED_SEGMENTS category,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') need_by_date,
    pe.full_name requestor,
    l.item_description,
    pr.segment1 project_num,
    t.task_number,
    c.segment1,
    c.segment2
    FROM po_requisition_headers_all r,
         po_requisition_lines_all l,  
    (SELECT project_id,task_id,code_combination_id, distribution_id,requisition_line_id,creation_date  FROM
    (SELECT project_id,task_id,code_combination_id,distribution_id,creation_date,requisition_line_id,ROW_NUMBER ()
    OVER (PARTITION BY requisition_line_id ORDER BY requisition_line_id,distribution_id ) rn
    FROM po_req_distributions_all pod) WHERE rn = 1) d,
    gl_code_combinations c,
    POR_CATEGORY_LOV_V p,
    per_people_v7 pe,
    PA_PROJECTS_ALL pr,
    PA_TASKS_ALL_V t,
    ap_vendors_v v,
    WHERE  d.creation_date >= nvl(to_date(:DATE_LAST_CHECKED,
    'DD-MON-YYYY HH24:MI:SS'),SYSDATE-1)
    AND
    l.requisition_header_id = r.requisition_header_id
    AND l.requisition_line_id = d.requisition_line_id
    AND d.code_combination_id = c.code_combination_id
    AND r.APPS_SOURCE_CODE = 'POR'
    AND l.category_id = p.category_id
    AND r.authorization_status IN ('IN PROCESS','PRE-APPROVED','APPROVED')
    AND l.to_person_id = pe.person_id
    AND pr.project_id(+) = d.project_id
    AND t.project_id(+) = d.project_id
    AND t.task_id(+) = d.task_id
    AND v.vendor_id(+) = l.vendor_id
    and r.requisition_header_id in(
    SELECT requisition_header_id FROM po_requisition_lines_all pl                    
    GROUP BY requisition_header_id HAVING SUM(nvl(pl.quantity,0) * nvl(pl.unit_price, 0)) >=100000)
    group by
    peo.email_address,
    r.REQUISITION_HEADER_ID,
    r.segment1 ,
    to_char(l.line_num) ,
    v.vendor_name, 
    p.CONCATENATED_SEGMENTS ,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') ,
    pe.full_name ,
    l.item_description,
    c.segment1,
    c.segment2,
    pr.segment1 ,
    t.task_number
    <b>I want to join this query with this first set </b>
    SELECT b.NAME, c.segment1 CO, c.segment2 CC,
              a.org_information2 Commodity_mgr,
              b.organization_id, p.email_address
         FROM hr_organization_information a, hr_all_organization_units b, pay_cost_allocation_keyflex c, per_people_v7 p
        WHERE a.org_information_context = 'Financial Approver Information'
          AND a.organization_id = b.organization_id
           AND b.COST_ALLOCATION_KEYFLEX_ID = c.COST_ALLOCATION_KEYFLEX_ID
           and a.ORG_INFORMATION2 = p.person_id
          AND NVL (b.date_to, SYSDATE + 1) >= SYSDATE
          AND b.date_from <= SYSDATE;
    <b>if this doesnt return any result then i need to join the query with the 2nd set</b>
    select lookup_code, meaning, v.attribute1 company, v.attribute2 cc,
                decode(v.attribute3,null,null,p1.employee_number || '-' || p1.full_name) sbu_controller,
                decode(v.attribute4,null,null,p2.employee_number || '-' || p2.full_name) commodity_mgr
                from fnd_lookup_values_vl v,
                per_people_v7 p1, per_people_v7 p2
                where lookup_type = 'BIO_FIN_APPROVER_INFO'
                  and v.attribute3 = p1.person_id(+)
                and v.attribute4 = p2.person_id(+)
                order by lookup_code
    How do i do it?
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    <br>
    I have hard coded the 2 jon sets into one using UNION ALL but if one record exists in both sets how would i diferentiate between the 2 sets.
    COUNT(*) will only give the total records.
    if there r total 14
    suppose first set gives 12 records
    second set gives 4 records.
    But i want only 14 records which could 12 from set 1 and 2 from set 2 since set1  and set2 can have common records.
    SELECT 
    peo.email_address,
    r.segment1 requistion_num,
    to_char(l.line_num) line_num,
    v.vendor_name supplier, 
    p.CONCATENATED_SEGMENTS category,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') need_by_date,
    pe.full_name requestor,
    l.item_description,
    pr.segment1 project_num,
    t.task_number,
    c.segment1,
    c.segment2
    FROM po_requisition_headers_all r,
         po_requisition_lines_all l,  
    (SELECT project_id,task_id,code_combination_id, distribution_id,requisition_line_id,creation_date  FROM
    (SELECT project_id,task_id,code_combination_id,distribution_id,creation_date,requisition_line_id,ROW_NUMBER ()
    OVER (PARTITION BY requisition_line_id ORDER BY requisition_line_id,distribution_id ) rn
    FROM po_req_distributions_all pod) WHERE rn = 1) d,
    gl_code_combinations c,
    POR_CATEGORY_LOV_V p,
    per_people_v7 pe,
    PA_PROJECTS_ALL pr,
    PA_TASKS_ALL_V t,
    ap_vendors_v v,
    WHERE  d.creation_date >= nvl(to_date(:DATE_LAST_CHECKED,
    'DD-MON-YYYY HH24:MI:SS'),SYSDATE-1)
    AND
    l.requisition_header_id = r.requisition_header_id
    AND l.requisition_line_id = d.requisition_line_id
    AND d.code_combination_id = c.code_combination_id
    AND r.APPS_SOURCE_CODE = 'POR'
    AND l.category_id = p.category_id
    AND r.authorization_status IN ('IN PROCESS','PRE-APPROVED','APPROVED')
    AND l.to_person_id = pe.person_id
    AND pr.project_id(+) = d.project_id
    AND t.project_id(+) = d.project_id
    AND t.task_id(+) = d.task_id
    AND v.vendor_id(+) = l.vendor_id
    and r.requisition_header_id in(
    SELECT requisition_header_id FROM po_requisition_lines_all pl                    
    GROUP BY requisition_header_id HAVING SUM(nvl(pl.quantity,0) * nvl(pl.unit_price, 0)) >=100000)
    group by
    peo.email_address,
    r.REQUISITION_HEADER_ID,
    r.segment1 ,
    to_char(l.line_num) ,
    v.vendor_name, 
    p.CONCATENATED_SEGMENTS ,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') ,
    pe.full_name ,
    l.item_description,
    c.segment1,
    c.segment2,
    pr.segment1 ,
    t.task_number
    UNION ALL
    SELECT 
    r.segment1 requistion_num,
    to_char(l.line_num) line_num,
    v.vendor_name supplier, 
    p.CONCATENATED_SEGMENTS category,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') need_by_date,
    pe.full_name requestor,
    l.item_description,
    pr.segment1 project_num,
    t.task_number,
    c.segment1,
    c.segment2
    FROM po_requisition_headers_all r,
         po_requisition_lines_all l,  
    (SELECT project_id,task_id,code_combination_id, distribution_id,requisition_line_id,creation_date  FROM
    (SELECT project_id,task_id,code_combination_id,distribution_id,creation_date,requisition_line_id,ROW_NUMBER ()
    OVER (PARTITION BY requisition_line_id ORDER BY requisition_line_id,distribution_id ) rn
    FROM po_req_distributions_all pod) WHERE rn = 1) d,
    gl_code_combinations c,
    POR_CATEGORY_LOV_V p,
    per_people_v7 pe,
    PA_PROJECTS_ALL pr,
    PA_TASKS_ALL_V t,
    ap_vendors_v v,
    fnd_lookup_values_vl flv,
    per_people_v7 p1,
    per_people_v7 p2
    WHERE  d.creation_date >= nvl(to_date('11-APR-2008',
    'DD-MON-YYYY HH24:MI:SS'),SYSDATE-1)
    AND
    l.requisition_header_id = r.requisition_header_id
    AND l.requisition_line_id = d.requisition_line_id
    AND d.code_combination_id = c.code_combination_id
    AND r.APPS_SOURCE_CODE = 'POR'
    AND l.org_id = 141
    AND l.category_id = p.category_id
    AND r.authorization_status IN ('IN PROCESS','PRE-APPROVED','APPROVED')
    AND l.to_person_id = pe.person_id
    AND pr.project_id(+) = d.project_id
    AND t.project_id(+) = d.project_id
    AND t.task_id(+) = d.task_id
    AND v.vendor_id(+) = l.vendor_id
    AND flv.attribute1=c.segment1
    AND flv.attribute2=c.segment2
    AND flv.lookup_type = 'BIO_FIN_APPROVER_INFO'
    and flv.attribute3 = p1.person_id(+)
    and flv.attribute4 = p2.person_id(+)
    and r.requisition_header_id in(
    SELECT requisition_header_id FROM po_requisition_lines_all pl                    
    GROUP BY requisition_header_id HAVING SUM(nvl(pl.quantity,0) * nvl(pl.unit_price, 0)) >=100000)
    group by
    r.REQUISITION_HEADER_ID,
    r.segment1 ,
    to_char(l.line_num) ,
    v.vendor_name, 
    p.CONCATENATED_SEGMENTS ,
    to_char(round((nvl(l.quantity, 0) * nvl(l.unit_price, 0))),'99,999,999,999.99'),
    TO_CHAR(l.need_by_date,'MM/DD/YYYY') ,
    pe.full_name ,
    l.item_description,
    c.segment1,
    c.segment2,
    pr.segment1 ,
    t.task_number

  • Rate it Link for items in a content Area

    Hi,
    How do I add a rate it link for all items in a content area and track the rating for items by all the users. This is urgent and any help is appreciated
    Thanks
    Makario

    You need to create a custom item type, with a procedure that displays a link to do the rating.
    For an example of a custom item type procedure, see Re: personal oracle 9i
    Note that the primary key for an item is (masterid, id, caid, language).

  • Upgraded to Yosemite,  Created new apple ID as couldn't remember last one now can't update iPhoto receive message this update not available for this apple Id either because it was bought by a different user or item refunded or cancelled.

    upgraded to Yosemite and now can't update Iphoto or Imovies receiving message this update not available for this apple ID because it was bought by a different user or item refunded or cancelled.  Is there an easy fix

    Unfortunately, anything obtained at the app store remains tied to the Apple ID used to obtain it forever. You will either have to start over with your new ID or try to recover the original ID.
    Frequently asked questions about Apple ID

  • F-32 ( User Exit / BTE ) Remove line items depending on condition

    Hi Gurus,
    When i run F-32 transaction, before the line items are displayed  I need to remove certain line items depending on some condition.
    Is there any user exit or BTE to do that ?
    Avi

    Hi,
    Try any of the below,
    Customer-exit
    SAPLF051
    RFKORIEX
    RFEPOS00
    RFAVIS01
    FEDI0001
    FARC0002
    F180A001
    F050S001
    F050S002
    F050S003
    F050S004
    F050S005
    F050S006
    F050S007
    Business Add-in
    FI_RES_ITEM_CURRENCY
    FI_TRANS_DATE_DERIVE
    BADI_ENJ_ALT_ADR
    BADI_F040_SCREEN_600
    BADI_FDCB_SUBBAS01
    BADI_FDCB_SUBBAS02
    BADI_FDCB_SUBBAS03
    BADI_FDCB_SUBBAS04
    BADI_FDCB_SUBBAS05
    RFESR000_BADI_001
    BADI_MIRO_SPLT_ADD
    BADI_PRKNG_NO_UPDATE
    FVFZ
    INVOIC_FI_INBOUND
    AC_QUANTITY_GET
    F050S008
    ADJUST_NET_DAYS
    FBAS_CIN_LTAX1F02
    FBAS_CIN_MF05AFA0
    FISPLIT
    FI_AUTHORITY_ITEM
    FI_DOC_DISP_LI
    FI_FB08_SUBST_BUDAT
    FI_GET_INV_PYMT_AMT
    FI_HEADER_SUB_1300
    FI_PAYREF_BADI_010
    Regards,
    Umang mehta

  • Make changes to the line item depending upon doc type n sp. GL ind in F-48

    I want to make changes to the line item depending upon the document type and special GL indication for the transaction code F-48.
    Depending upon document type and special GL indicator i want to calculate the work contract tax during simulation in transaction code F-48.

    Hi,
    You want to deduct WCT when you use particular document type and special gl indicator.
    I just want to know the reason why you want to determine the WCT based on the above conditions.
    I created WCT as withholding tax types and assigned to vendor master. So when the user booking transactions he will choose the respective WCT tax type and tax code so system will deduct the amount and the same updated in WITH_ITEM.
    Or you made a down payment request through T.code F-47 and when you want to book the actual transaction in F-48 then choose line item from down payment request.
    Give me your requirement in clear if the above is not clear
    Regards,
    Sankar

  • Prevent invoice split with different partners on item level

    Dear Experts,
    in a sales order we have different representatives (partner function "VE") on item level due to commission issues. Now we have the requirement to prevent the invoice split with different representatves on item in order-related billing. While in copy control it is easy to prevent invoice split due to different VBRK-fields we have not found  a userexit ( or copy-control) to prevent invoice split with different partners.
    Anybody has an idea to this issue?
    Thanks for your help.
    Mark

    Dear Mark,
    You are on the right-track.
    As, there is no standard routine, you have to write your requirement in existing routine (i.e. modify standard routine with your requirement)
    To do so, go to:
    T. Code: VOFM --> Copying requirement(Menu-bar) --> Billing Document (Take help from ABAPer).
    Write code as an implicit enhancement:
    clear: KURGV-KUNNR
    - {Please confirm the Table-Field name}
    And if there is any further changes, ABAper will help you out.
    Once modified, attach your routine in to Field: VBRK/ VBRP.
    Best Regards,
    Amit
    Note: I think, following thread will help you and clear the requirement:
    Re: Avoid invoice split (Please go-through it)

  • How can I find text-item description and content in database?

    I make "Actual news" region with text and simple image items.
    With "Custom Search" autoquery I make news portlet with 10 latest news.
    But I will make with PDK-Java discussion portlet, in which users can read and write about last published (last created text item display name and content) news.
    My questions:
    - How can I find text-item description and content in database?
    - How I can sort text-items to find latest created in my region?
    I have Portal R2
    Thanks in advance.
    Cheslav

    I am sorry. The following are the related tables.
    WWV_TEXT
    WWV_TEXT_BLOCKS
    WWV_TEXT_BLOCK_USAGES
    WWV_USER_TEXT_BLOCKS
    WWV_USER_TEXT_BLOCKS$
    WWV_USER_TEXT_BLOCK_USAGES
    WWV_USER_TEXT_BLOCK_USAGES$
    May be you want to browse WWV_TEXT which is the core table.

  • Items above region content

    Hi,
    How can I customize "Page Template Region 5" to show the "items" above the region?
    I want to customize this region something like "Page Template Body (3. items above region content)".
    Thanks in advance.
    Balaji Chellappa

    No
    "Page Template Body (3. items above region content)". was the only option.
    Alternatively you can create a blank region just above the region and can keep the buttons over there. Its the ugly idea but it works.

  • Full Screen in CS5 and CS5.1 is not Supporting the Menus Items like CS4 This is happening while

    Full Screen in CS5 and CS5.1 is not Supporting the Menus Items like CS4
    This is happening while working in the balck screen and using shortkut Keys for top menu. the tools are woring, but while using Alt Key to choosing the menu item. its not supporting. like the older vesions
    please answer me

    Can you please be a little more clear about what you expect it to do vs. what it's doing.
    Are you using the "Full Screen With Menus" mode or the complete "Full Screen" mode?  I just tried the "Full Screen With Menus" mode and was able to use the Alt key to initiate menu operations.
    -Noel

Maybe you are looking for

  • Report for Billing Document/sales order against project/WBS/Network

    Hi Experts, I want to see the Billing Document/Sales Order for Network/WBS in the projects. Also want to see the cost transaction against the WBS and Network. Suggest report which can show the details of the Sales Order/Billing Document against the W

  • How can I delete items in the trash bin when they don't empty?

    I downloaded font files and tried to delete them. I tried to empty trash but the items still appear. I tried holding down the optioin key while emptying the trash and the items are still there. How can I empty the trash bin?

  • Executing a SQL Command in my bean class

    Hello everyone, I'm using JDeveloper 12.1.2.0.0. I have an interest in executing a query in my bean method. I've done some research and i still got a code but it can't find the method that the method requires so i tried to added the query in my AppMo

  • Problem in creating a Lookup query in OIM.

    i have written LookupQuery. My query is :select lkv_encoded,lkv_decoded from lkv lkv,lku lku where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.BB.InstitutionRoles' and lkv_encoded not in '$Form data.UD_BLKBRD_PORTALROLE$' i am getting the

  • HR data extraction issue

    Hi friends, I am extracting the Time Management data. I am loading data to the DSO from the following two data sources. 0HR_PT_1 AND 0HR_PT_2, When i Load the data for planned time 0HR_PT_1 i am getting two entries per record one each for DAY and HOU