Where in code do you land after menu item clicked?

If I click a menu item and it brings up a dialog box and then I click either ok or cancel on the menu item, how do I find out where in the code I land after exiting that dialog box? Do I have to put in tons of println's or use tons of breakpoints in debug mode to find out? Is there anyway to know where I will land in the code? Thanks.
Allyson

I would put in printlns except I have no idea where to put them. I have been putting them sporatically throughout the code, but can't seem to find where I wind up. Do I just wind up nowhere until I click on something else? The reason I am asking is because when I close one dialog box my code is kind of messed up. I have 3 tables. When you click on the first one it changes values in the other 2. Works great. When you chose this menu item and then close the dialog box (either by cancel or Ok), and then click on a different row in the 1st table, the 3rd table changes, but the 2nd one does not. I have printed out what the model2 for the jTable2 should be (using model2.getValueAt(0,0)) and it should be the correct value. If I don't click on the menu to get this dialog box, the tables change like they should. So.... I need to find out where in the code I get to when I close this dialog box.
Whew! Such a long explanation. I will try the FocusListener, but I really don't want to force any focus on anything. I just want to know where you land in the code (if anywhere). Thanks.
Allyson

Similar Messages

  • Bug report: Photoshop can't record an action where you insert the menu item "Tile all horizontally".

    I am running CS6 beta on Mac OS 10.7.3
    Photoshop can't record an action where you insert the menu item "Tile all horizontally".
    Expected behavior: add the tile all horizontally action to your actions.
    Behavior: nothing happens.
    This does work for Tile all vertically.

    Have I mentioned how much i love my playbook now Great job on os 2.0

  • 800-COMCAST hangs up on me after menu items

    800-COMCAST hangs up on me after menu items. I have tried more than 5 times now for some billing questions that I have and it keeps hanging up before it could connect me to an agent. Is this how the customer service works?

    Same thing happening to me. I have an urgent issue that needs addressing. I have called literally 14 times. They ask for the last 4 of SSN, and say they willl connect. Between 1 minute and 39 seconds and 2 minutes exactly someone picks up and hangs up immediately. Comcast.....why would you do this? What did I ever do to you to deserve this? I'm serious. Why?All I do is give you money? Where is the downside of that for you? Do you know how excrutiatingy painful it is to spend 40 minutes trying to make 1 phone call and being hung up on, over, and over, and over? And all I have to show for this (goodbye lunch break) is a waste of time and 14 rejections. I wish I could make your CEO experience this. He would go ballistic.

  • VBA Code for Excel Add-in Menu Items

    Howdy.
    Every month my team needs to execute the same process on a couple hundred documents. It's time consuming and inefficient to say the least, so I'm looking for a means by which to call a couple of the menu items on the Excel BPC Add-Ins menu via VBA. Specifically, Park'n'Go; Expand All; and Send and Refresh Schedules.
    Basically what happens is this:
    Open File
    Set Park'n'Go to Live
    Expand All
    Refresh and Send Schedules
    Set Park'n'Go to Offline
    Save
    Exit
    Loop
    I know how to loop through the files and directories, I just don't know the commands for the functions from the menu via code. The macro recorder can't help me, and I've even tried to mimic a user's actions by using mouse coordinates and clicks, but that doesn't work b/c it doesn't allow for the necessary load time from BPC.
    Any help would be extremely appreciated.

    Hey Jeff,
    here are some vba commands that may help you.
    Open a certain file: (you can assign "Path" to a button or range)
    Dim Path As String
    Path = Application.GetOpenFilename("All Files (.),.")
    Opening the Park 'n Go dialog box:
    Application.Run ("MNU_ETOOLS_PARKNGO")
    Expand All:
    Application.Run ("MNU_ETOOLS_EXPAND")
    Sending data and refreshing the workbook:
    Application.Run ("MNU_eSUBMIT_REFSCHEDULE_BOOK_REFRESH")
    Saving a file OFFLINE:
    Dim FName As String
    FName = InputBox(prompt:="Please enter filename")
    If FName = "" Then
    Application.DisplayAlerts = False
    ActiveWorkbook.Close
    Else
    ActiveWorkbook.SaveAs Filename:="c:\" & FName
    ActiveWorkbook.Close
    End If
    Application.DisplayAlerts = True
    Hope, that will help you
    Karsten

  • Configure J2ME : where is ' Manage Librabries... ' menu item

    i have downloaded and installed jdeveloper and sun j2me wireless toolkit 1.0.4_1. i also downloaded j2me extension and unzip it to the ext folder.
    i can generate j2me skeleton code, but i can't invoke wireless toolkit or emulator within the jdeveloper.
    From the viewlet in oracle site, i knew i should add a librabry as the first step i configure j2me. but i have not found the menu item 'Manage Librabries...' in the position as shown in the viewlet ( that is in 'tools' main menu, under the menu item 'J2ME Wireless Toolkit location') i get 'Generate java doc...' in that position instead.
    Where can i find 'Manage Librabries...', or shall i do something to get it?
    best wishes

    Hi,
    It seems that the viewlet for this has been produced using a version of JDeveloper that isn't publically available yet (9.0.3).
    To manage libraries in 9.0.2, look under Project->Project Settings... on the Libraries page.
    Thanks,
    Brian
    JDev Team

  • Context Menu Item Click crashes IE

    Hi
    can anybody tell me why my flex 2 final release application
    crashes when a context menu item is selected ???
    i can give code if required???
    thanks
    mehul

    FANTASTIC!  I love right clicking stuff.  Thank you very much!
    More please!

  • How to capture when a button and menu item clicked by user?

    Hi,
         I am working in Acrobat 8 professional.
         I want to capture when Comments->Publish comments is clicked by user.
         My requirement is when Publish comments menu item is clicked then one alert have to be displayed.
         Similarly when user clicks Publish comments button then also one alert have to be displayed.
         How can i do this?
         Thanks in advance...

    There is nothing in the Acrobat SDK to really help you.  Your best bet it to use OS-level hooking functions.

  • How do you create a menu item in diadem user dialog boxes?

    I dont mean adding a menu to the diadem view through 'MenuItemAdd'. I need to add it to a user dialog box. Know an ActiveX control that can be used for this?

    Hi,
    the reason for this "invalid file format" might be that I use a DIAdem version, which is different from you version.
    I have described the steps, which I did in the attached document.
    Thomas
    Attachments:
    SUD_with_Toolbar_Hints.doc ‏53 KB

  • Adding menu items

    I am writing a program using netbeans. I have put in a menu bar and a menu from the palette. I don't know how to add menu items. The explanation in the tutorial says how to code it in at the place where the GUI is constructed. But this is in a blue area in the source listing and it won't let me edit it. Help.

    I am writing a program using netbeans. I have put in
    a menu bar and a menu from the palette. I don't know
    how to add menu items. The explanation in the
    tutorial says how to code it in at the place where
    the GUI is constructed. But this is in a blue area in
    the source listing and it won't let me edit it.
    Help.just look at the properties maybe you miss something or you can add
    menu items manually.

  • How to reset input Text value on click of root menu item navigation link ?

    All,
    Jdeveloper - 11.1.1.6
    I am facing this issue across the pages.
    I have a root_menu.xml based navigation available as links at the top of ADF application. Some of the menu links directly have JSPX pages having the content being loaded , and others are JSPX containing Bounded task flow.
    Issue :
    On the click of the menu links, the page gets reloaded / refreshed , however the input value given on the page remains displayed even after refresh.
    We need the page refresh along with any input test box getting cleared on Menu item click.
    Any pointers as to how we can resolve.
    Thanks

    If your page is in a taskflow (which it should be as you use pageflowscope), you should have a method action in your task flow which you call to clear all the values you use in the UI.
    Timo

  • How to position your script menu item

    Hello,
    How do you position your menu item in the right place. 
    I want to create a new type of document.
    How do I get my menu item under the New sub menu.
    Thanks.
    P.

    The MenuItem add function shows you how:
    MenuItem add (associatedMenuAction: MenuAction[, at: LocationOptions=LocationOptions.AT_END][, reference: MenuElement][, withProperties: Object])
    so all it takes is telling it to add yours LocationOptions.AFTER the New menu item.

  • Populating menu items from the database...is it possible?

    hi
    using :forms 10g
    we have a requirement in forms where we need to populate the menu items from the database.first we used hiearchial tree where it was possible.but since the requirement changed i am not sure that whether the menu items can be populated by data from the database...will be glad if someone could throw some light on this issue...
    thanks

    You could always do it but would need to put a fix limit on the number of menu items.
    For example you could create a set of menu items at design time with the visible property set to False.
    While reading the database, you then set them to True while setting the label to whatever you require.
    But it all depends also on what you want your menu items to do when selected.

  • Presenting video clips as menu items

    Hi,
    I can't seem to find the answer to this question in the forums so here it goes. I have a bunch of video clips that I would like to place in iDVD. My idea is to have a menu that lists each clip and when you select a menu item, the project plays that selected video full screen like a typical photo slideshow. When it ends, the DVD would return the user back to the menu from which you came.
    It sounds simple but I cannot seem to find a way to do that. The only way to create a menu item is either by having a folder or slideshow of images. Am I missing something?
    Thanks,
    Matt

    Well I beg to differ a little. It is in the help and getting started files, but I agree it seems a little counter-intuitive, and many users run into this. Just remember the drop zones are for the menus only, not the main feature.
    In iDVD help, if you type movie in the search box, you'll find Adding a movie to your iDVD Project where it says Drag a movie file from the Finder to the background of a DVD menu.
    http://manuals.info.apple.com/en/iDVD5GettingStarted.pdf
    http://www.kenstone.net/fcphomepage/idvd_5stone.html
    G5dual2GHz, 550TiBook, 9600>G3Upgraded   Mac OS X (10.4.3)   1TB+ Storage

  • Why does LV(8.0.1) still track the keyboard shortcuts of disabled menu items?

    Hello all,
    when I disable a (super-) menu item, the submenu-items are grayed out as expected. But they still accept their keyboard- shortcuts. Is this a bug in LV? If I explicitly disable the submenu- items, all works fine, but the simple method would be nicer and comprehensibly.
    I made a VI to illustrate.
    Greets, Dave
    Message Edited by daveTW on 05-11-2006 01:56 PM
    Greets, Dave
    Attachments:
    Menu with shortcuts.zip ‏37 KB

    Hi Dave,
    it seems a bit strange but at the end it is a absolutely correct behaviour. If you deactivate a menu item than all sub-menu items are deactivated in the menu bar. But that is only a feature of the menu bar. To disable the short cut you have to deactivate the sub-menu item itself. In you zip-file the <STRG - C> is deactivated but the <STRG - V> still works. That depends on the settings in your test3.vi where you defined the items to be disabled. If you add "Paste" to the array of items or if you disable all items then the shortcuts will be disabled as well.
    Best regards,
    Carsten Sprung
    Application Engineer
    National Instruments Germany

  • Problem when trying to add a link to the left menu item!!!!

    Hi everyone,
    I am trying to put a new menu group on the left menu,with a link in that group for every one.On checking with the customization guide this is what i did
    for one link i did add the following lines in each of the files
    1)xlWebAdmin.properties
    - menuGroup.Misc-Menu=Misc Menu
    - menuItem.Misc-Menu.My-Nomination=My Nomination
    2) xlDefaultAdmin.properties
    - menuItem.Misc-Menu.My-Nomination.link=mynomineefrm?showfrm
    3) repacked the war and the ear
    4) Restarted my server
    When I login into the administration(xelsysadm) page I didnt see any menu item with name "My Nomination" which i am supposed to see.
    secondly it shows the menu item when ever i select some group and click on assign menu item.
    Moreover, when I try to assign this menu item to all users group it gives me this error
    On browser it prints
    Permission Denied to Assign Selected Menu Items
    You do not have the permissions to assign one or more selected menu items.
    on console it prints
    ERROR [SERVER] Class/Method: tcDataObj/eventPreInsert Error :Insert
    permission is denied
    ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
    nter some problems: maoRejections:You do not have permission to insert this obje
    ct.
    ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
    nter some problems: Error occurred while adding menu items.
    ERROR [WEBAPP] Class/Method: UserGroupMenuItemsAction/commitGroupAs
    signMenuItems encounter some problems: {1}
    Thor.API.Exceptions.tcBulkException
    This problem eat my happy sunday :-(, any one has solution for this problem?
    - Also if some one can help on how to link jsp to the new link will be helpful for me!
    Thanks,
    doki

    Design Console > Form Information > add new
    Class Name Organizations.Merge
    Description Move users from one organization to another
    Type menuitem
    Add following to xlWebAdmin.properties, xlWebAdmin_en_US.properties
    Organizations.Merge=mergeOrgs.do?Display
    menuItem.Organizations.Merge.link=mergeOrgs.do?MergeOrganizations
    menuItem.Organizations.Merge=Merge
    mergeOrgs.button.display=Merge Organizations
    Even you have to assign first to System Administrator group
    First go to Manage Group
    Select System Administrator Group
    Select Menu Item
    Click Assign and select newly craeted Menu Item and click Confirm
    These are the steps to see the new menu item. To make this menu item working:
    you'll have to write action class, form bean class and you'll have to create JSPs and make their entry in struts-config as welll as in Tiles-def.xml
    Then your menu item will work.

Maybe you are looking for

  • Input type (.plsql) and how to get rid of it.

    So, i have two sqldeveloper instances - an older multiplatform one and the second 1.1.2 from rpm. Now it says: "Addin: Translator PlSql is trying to register a input type (.plsql) which conflicts with translator PlSql who already using this input typ

  • TS1368 Itunes store upgrade

    I can not read the song titles on the new itunes store upgrade. The titles are unclear and overlap. The old version worked fine. I'll have to switch to amazon. Can anyone help?

  • BEx map: dynamic areas in a map?

    I have one question reg. BEx map: How could I realize dynamic areas for a map? Let's say I have a rectangular area describing some phenomenon. The end-user should be able to enter new areas. All the dynamic geographical types refer points, not areas.

  • Strange things about optimized files

    As far as I understand from this forum, if I "create optimized files" it will convert it to ProRes422. I use EXDCAM EX mov. I import with optimized checked. When I take a look at the info about the file in the timeline, it says EXDCAM EX Linear PCM,

  • Chrome Browser...sign-in hell...(browser and sites)

    Anyone having sign-in, cookie and password issues with Google Chrome Browser? Updated I am in signing-in hell     with one particular computer (this one) and have spent days trying to rectify it. Basically..Chrome normally opens ( after computer shut