JPopupMenu for the Toolbar Item.

When I click on the button on the Toolbar I have to display the menu items under it like a popup. Is it the JPopupMenu that I have to create? Do I have to set it's position to display exactly below the button? How do I go about doing this. Thanks.

Repost: http://forum.java.sun.com/thread.jsp?forum=57&thread=209295
Please don't double post, especially in the same forum barely 3 hours apart. It really discourages those of us from bothering to help developers when we realize someone has posted their question in 7 different places. It breeds repetitive answers and unread advice.

Similar Messages

  • Header Details to be Printed only for the line item details.

    Hi All,
    I have the following requirement.
    I have Page1 with the Logo, Header Window, Vendor Window, Send Invoice To, Delivere Invoice To and Main Window. Main Window Starts from the middle of the page. In the Page2 i have Logo, Header window and Main Window. In the Page3 i have only Main Window.
    In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3.
    The requirement is Logo,and Header Window should appear only for the Line items and not for the Terms and conditions.
    For the Page1 i have given the Next Page as Page2. Suppose if there is only one line item then it Prints in the first Page itslef and the control flows to the Page2 and since in the page2 i have given the condition for the Logo and header window to print only if line item is more than 1 and since Main Window is starting from the middle there is a blank Space appearing in the start of the page.
    The command i have given in the footer to trigger new page that is page3 is not getting triggered. If there are more than one line item then its printing the logo and header window and so there is no blank space appearing and it is working fine.
    Please let me know how to avoid this blank space and move my main window to the start of the Page if there is only one line item.
    Thank you.

    Dear Vasudha,
    I am a little bit confused regarding your query,
    "In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3. "
    When you say footer of main window does it mean , that you are using a table inside your main window and the command node your have inserted is in the footer of the table ?.I hope it is, because my suggestion is based on this assumption.
    Well my suggestion for your issue is,
    1.I  hope you are aware we can trigger a next page in two ways, one by setting the next page static attribute & second using  the command node which you have used.In your case you will have to use a combination of both.
    2.I feel your First page design is ok. Set its static next page attribute to PAGE2. Similarly set the static next page attribute for PAGE2 as PAGE2 itself. This should take care of your table which you have placed in the main window. If the table contains only one lineitem it will get over in the first page itself. If the lineitems are more in the table, it will automatically triggerPAGE2 (since static next page attribute for PAGE1 is PAGE2)  and the remaining line items will be displayed. Now no matter how many lineitems you have ,PAGE2 will be triggered repeatedly(since static next page for PAGE2 is PAGE2 itself) until the entire data in your table is displayed.
    In this way your requirement of printing the logo and header windows for the data lineitems only will be fulfilled.
    3.Now the last catch in your case is the printing of PAGE3(The terms and condition page) on an entirely new blank page.
       In the footer section of the table which you have used,  use a command node set to PAGE3.  After the command node and under the same  footer section now insert your terms and condition lineitem.
    Also Check the "at End of table" checkbox and uncheck " AT PAGE BREAK" under OUTPUT OPTIONS tab for the footer section.
    So now this footer section will be triggered only once after all the data in the table is displayed
    4. So now if there is only one lineitem, before the default second page is triggered the command node will trigger the PAGE3 and the terms and condition will be displayed.Else if there are more lineitems the page2 will be triggered again and again and finally when all the lineitems are over, the footer of the table will get triggered. So the command node will take you to the PAGE3 wherin the terms and condition will only be displayed.
    Hope this helps.
    Regards,
    Riju

  • CIN - BED, AED & SED for the excise item is ZERO

    DEAR ALL,
    I am testing the CIN scanario with tax procedure TAXINJ.
    While making GRN at excise invoice tab message is coming " BED, AED and SED for the excise item is zero" adn no any values for BED, AED and SED are flowing,
    Value for BED is maintained in J1ID for the chapter ID. Also Tax code is created with JMO1 - IN: A/P BED deductible and value mainatained is 14 %.
    PLease confirm me where I amd doing wrong ? Also please tell in TAXINJ on what paramaters the excise flows and shows the values while GRN OR whil posting a excise invoice ?
    Regards,
    Rakesh

    Dear ALL,
    Below are the steps / settings I have done,
    01. Copied TAXINJ to create tax procedure say ZAXINJ and assigned to country IN.
         - Please confirm what needs to be AltCty & AltCBV for JMO1, JMOD, JMOP ?
    02. Excise defaults maintained as per TAXINJ for ZAXINJ.
    03. Acces sequenece maintained for JMO1, JMOP, JMOD is MWST - Tax code.
    04. Then created Tax code say T1 - and % maintained as below
           JMO1 - 100 %
           JMOP - 100 %\
    05. J1ID - maintained for vendor, plant, material etc.
    05. Excise rate maintained in J1ID for chapter ID as 14 %.
    06. Chapter ID maintained in material master.
    07. PO created for the material with tax code T1 for the said vendor.
    Still while GRN message comes "BED, AED & SED for the excise item is ZERO" and BED is not getting populated for BED.
    Please confirm where I went.
    Waiting eagerly for the valuabale inputs..
    Regards,
    Rakesh

  • Under Options , Applications There are multiple entries for the same item (Acrobat Document). how can I delete the duplicates?

    Under Options, Applications there are multiple entries for the same item. (Adobe Acrobat) . Three show Adobe Acrobat Reader 9.3 and the other shows (ask) or (save file) with no ability to select Acrobat Reader . Is there a way to edit this list to remove the duplicates and
    the incorrect entry? Adobe installed a very quick update today.

    They are all different. Hover your mouse pointer over each of the "Content Type" descriptions and you should see a "tooltip" to see that each has a different description.
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Adobe Shockwave for Director Netscape plug-in, version 11.5 (you '''<u>may</u>''' need to update)
    * Shockwave Flash 10.1 r53
    * Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from the link in article below
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download link and other information</u>''': https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox

  • How to implement tooltip for the list items for the particular column in sharepoint 2013

    Hi,
    I had created a list, How to implement tooltip for the list items for the particular column in SharePoint 2013.
    Any help will be appreciated

    We can use JavaScript or JQuery to show the tooltips. Refer to the following similar thread.
    http://social.technet.microsoft.com/forums/en/sharepointdevelopmentprevious/thread/1dac3ae0-c9ce-419d-b6dd-08dd48284324
    http://stackoverflow.com/questions/3366515/small-description-window-on-mouse-hover-on-hyperlink
    http://spjsblog.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/

  • Hello everyone, I have a problem when I sync my apple device. I plug it in and a message comes up saying, this device could not be synced because this computer is not authorized for the purchased items on this phone. I already tried to authorize again.

    Hello everyone, I have a problem when I sync my apple device. I plug it in and a message comes up saying, this device could not be synced because this computer is not authorized for the purchased items on this phone. I already tried to authorize again, after deautherizing it. HELP ME PLEASE

    Hi applerinneedforhelp,
    Thanks for visiting Apple Support Communities.
    If iTunes is asking you to authorize the computer, and you've already done so, the troubleshooting steps in this article can help:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    Regards,
    Jeremy

  • 14th May 2013. We placed an order on medIT (Medit Information Technology)for the following items: 6 units of Apple iMAc-All_in-one-1 core i

    14th May 2013.
    We placed an order on medIT (Medit Information Technology) for the following items:
    6 units of Apple iMAc-All_in-one-1 core i5 2.9 GHz-RAM 8GB-HDD 1x1tb-GF GTX 660M- Gigabit LAN-WLAN : 802.11 a/b/g/n, Bluetooth 4.0-OS x 10.8 Mountain Lion- Monitor : LED 27”wide- keyboard: English.
    We paid to their account; Bank of Cyprus Public Company Limited the full invoice value.
    As of today 14th May 2013 we are still waiting for delivery of the goods despite numerous advices that a partial order of 3 items the order has been shipped.
    We have made numerous follow up calls to medIT directly and through other customers of medIT, but we have no clue as to when we will receive the goods. On 29th April, 2013 they gave us a FEDEX airwaybill no..We regret that we have not been able to trace this airwaybill on the FEDEX system.
    We are, therefore,  pleading for assistance from any support group to link us with the right department so that we can have accurate information on the movement of this parcel.
    These items were ordered for a government department of the Republic of Zambia and this non-delivery is creating a bad name for Apple Resellers covering Zambian market. The project upgrade of the project is now falling behind due to non-delivery on our part arising from the non-performance on the part of medIT.
    We can make available for inspection copies of the order and remittance details to the appropriate office for review and ready reference.
    We can be contacted directly on “James A. Ngoma”
    <Personal Information Edited by Host>

    If you ordered from MedIT in Cyprus, they do not appear to be an authorized Apple reseller. If they are indeed not authorized by Apple, there will be nothing Apple will be able to do to assist you in this matter. You will need to work the problem out with MedIT, obtaining legal assistance in Cyprus if necessary.
    Regards.

  • How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?

    Dear SharePoint Developers,
    Please help.
    I need to know How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?
    I think this is a "sealed column", whatever that is, which is  shown in SPD 2013 as a column of content type "document, folder, MyCustomContentType".
    I know when I set the column order in my custom Content Type settings page, it is correct.
    But, when I load the NewDocSet.aspx page, the column order that I set in the settings page is NOT used for this "sealed column" which is bad.
    Can you help?
    Please advise.
    Thanks.
    Mark Kamoski
    -- Mark Kamoski

    Hi,
    According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
    Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
    Drill down into one of them and you'll see the option under the list of columns for that content type.
    To apply the column order in the NewDocSet.aspx page, you need to:
    Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
    Content Types section, choose Refresh all published content types on next
    update.
    Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
    More information:
    http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Enter the price for the service item

    Dear Experts,
    We are implementing SRM 7.0 and we have upgraded our system with Service pack 7.Created a limit SC and approved at all levels. After approving SC system created PO in SRM but did not replicate to backend ECC system. When I looked PO in edit PO mode and system throws an error message "Enter the price for the service item".
    Have any body faced this issue? If yes please guide me how to fix this issue or Suggest me any useful link or OSS messages.
    Thanks in advance.
    Thanks
    Umakanth

    Hello,
    I assume you are using a Product category configured for Extended Classic scenario.
    In this case a limit item in SC creates limit item in PO(in SRM). But when this PO is replicated to R/3, it always creates item with type 'D' for limit item in PO.
    Now with respect to error message you get, can you check if you have specified all LImits (Overall value, Expected value etc)?
    You can also try creating a PO directly in SRM with limit item (use same Product category as above) and see if it replicates.
    If you get the same error, please raise a OSS message for SAP.
    Thanks,
    Sushil

  • BED, AED and SED for the excise item is zero

    Dear ALL,
    I am working on IMPORT MATERIAL  GOODS RECEIPT,  
    While  doing MIGO  in excise  item tab  BED, AED, SED   values  are  visible  and  material document is  generated, but while posting  PART1 ENTRIES  through J1IEX  System is throwing error" BED, AED and SED for the excise item is zero"  and the  excise values are not flowing in to PART1, 
    IN J1IEX PART1 Entries
    1.IN DUTY RATE TAB all the entries like BED, AED, SED are zero,
    2. IN DUTY VALUES TAB all entries are zero
    ERROR MESSAGE NO 4F122
    Please suggest
    ARABBAS

    Dear,
      Please check this,
      [Excise;
      [BED Value not defaulted in GR;
    Sandip

  • BAPI_PO_CHANGE to update the Price for the line item not updating the Price

    Hi,
    I am using BAPI_PO_CHANGE to update the Price for the line item. This BAPI is not updating the Price. I am using external cummit also, but the BAPI is not updating price.
    I am passing following data to the BAPI.
    Plant: CQ11
    PO                   Material                Price
    4500002142     TEST_BATCH     12
    Please provide suggestion.
    Regards,
    Jubin.

    Hi,
    check this link...this has sample code
    [http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
    Regards,
    Surinder

  • The plug-in for the selected item is not installed on your system

    Hello,
    When I want to build an application there is a "!" mark before the application and for  the Installer,  in the Project Explorer under Build Specification.
    When I ask for "explain warning" I got the message "The plug-in for the selected item is not installed on your system"
    Previously it worked well, whats happend?? (during my holyday's )
    Thanks for help, Huub

    Well, something obviously changed. Install any software and/or hardware recently? Using any hardware in your LabVIEW project? Could be the drivers for that hardware got corrupted. Try identifying what you're using and reinstall the drivers.

  • BED, AED and SED for the excise item is zero,Message no. 4F122

    Hi,
    While doing GR system issuing msg "  BED,AED and SED for the excise item is zero.Message no. 4F122,
    Chapter ID,mat chapter ID Comb,Cenvat determ,Vendor excise ,excise tax rate Maitained properly and cross verified twise.
    We are using TAXINJ procedure. Tax code maintaied and % maintained for Tax code.
    Any bady point out what exaclty CIN config missed out? why PO tax value are not flowing in MIGO.
    After manully putting value in MIGO also excise invoice (Capture excise invoice ) is not getting created. i am not able to view in J1IEX.
    Regards,
    Anil

    Hi anil kumar,
    I think you have maintained the any of these Excise details.
    Maintain
    >Chapter ID
    >Material & Chater ID Combination
    >Assesable Value
    >Cenvat Determination
    >Vendor Excise Details ( Check the Excise Indicator) as 1
    >Check the tax code assigned
    Please maintain and let me know.
    Thanks,
    Swamy H P

  • Why charged me twice for the same item? They have withdrew money from my bank account for the second time about half an hour later after the transaction was completed leaving me overdrawn.

    Why charged me twice for the same item? They have withdrew money from my bank account for the second time about half an hour later after the transaction was completed leaving me overdrawn.

    Hi Benjamins,
    I've checked your account—you have two ExportPDF subscriptions. One placed on October 20 2013, and the other placed on October 11 of this year. So, you were probably charged the auto renewal for the subscription placed in 2013, and then the new charge for this year's order.
    Please Contact Customer Care so that an agent can help get things situated for you. There's no reason to have two subscriptions to the same service, so an agent can help you cancel one, if you'd like.
    Best,
    Sara

  • How to calculate with holding tax for the open item

    Dera all,
    Can you tel me how to simulate with holding tax for the open item? i will try do it using FI_WT_F110_CALCULATE FM  but it dosnt work. plz help me
    regard
    nawa

    Hi Sushil,
    can you please elaborate on how you resolved it. we are facing the same issue with BAPI not calculating the withholding tax data.
    Thanks,
    Sanket

Maybe you are looking for

  • Comm: file 1 is not in sorted order?

    For example: ==> Tidying install... -> Removing doc files... -> Purging unwanted files... -> Compressing man and info pages... -> Removing libtool files... -> Removing empty directories... ==> Creating package... -> Generating .PKGINFO file... -> Add

  • Using remote speakers with non-iTunes sound

    The Apple Remote app is great in that I can play and control any iTunes music and play it on a remote speaker through my mac. However, is there a way to play sound generated by an iPhone application that is NOT part of iTunes library remotely on an a

  • Plz send me sample implimentation project.

    hi,     anybody plz send me sample implementation project,and also roles and responsibilities about that project. regards, balaram.

  • Approval procedures

    Hi, I need to add approval procedures to Purchase Orders.  Is there a SAP note / paper about this. Iu2019m not sure about the difference between Approval Stages and Approval Templates and how it is applied to the PO document.

  • IPhoto backup reduced all file sizes

    Hi, I recently backed up my iPhoto library to an external hard drive as the library was so big my MacBook was full up. Recently I checked the photos and all of them are significantly reduced in size. This is a disaster for me as it is all my photos b