Navigation not working in SAP.m split app MVC

Hello Experts,
This is my index.html file:
<script src="resources/sap-ui-core.js" id="sap-ui-bootstrap"
  data-sap-ui-libs="sap.m,sap.ui.commons"
  data-sap-ui-theme="sap_bluecrystal">
  </script>
<!-- only load the mobile lib "sap.m" and the "sap_mvi" theme -->
<script>
  sap.ui.localResources("bachelorproefbartgeudens");
  var startpage = sap.ui.view({id:"promostart", viewName:"bachelorproefbartgeudens.Promo_App_Start", type:sap.ui.core.mvc.ViewType.JS});
  var infopage = sap.ui.view({id:"promoinfo", viewName:"bachelorproefbartgeudens.Promo_App_Info", type:sap.ui.core.mvc.ViewType.JS});
  var infopage2 = sap.ui.view({id:"promoinfo2", viewName:"bachelorproefbartgeudens.Promo_App_Info2", type:sap.ui.core.mvc.ViewType.JS});
  /*** THIS IS THE "APPLICATION" CODE ***/
  //SPLIT APP
  var oSplitApp = new sap.m.SplitApp("mySplitApp", {});
  //add the master pages to the splitapp control
  oSplitApp.addMasterPage(startpage);
  //add the detail pages to the splitapp control
  oSplitApp.addDetailPage(infopage).addDetailPage(infopage2);
  //oSplitApp.addDetailPage(oDetailPage1).addDetailPage(oDetailPage2);
  //place
  oSplitApp.placeAt("content");
  </script>
So i use the views as pages. But the thing is when i try to navigate after pushing a button in a view:
press : function (evt){
  // navigate to detail2 page
  var bus = sap.ui.getCore().getEventBus();
  console.log(bus);
  bus.publish("nav", "to", {
   id : "detail2"
It is not doing anything...
Any suggestions?
Kind Regards,
Bart

Hi Andreas,
U were right, I had nothing in my controller that listened to the EventBus.
I looked it up a little and i found i should add these functions.
onInit: function() {
  var view = this.getView();
  // to avoid scrollbars on desktop the root view must be set to block display
  view.setDisplayBlock(true);
  // remember the App Control
  this.app = view.byId("mySplitApp");
  // subscribe to event bus
  var bus = sap.ui.getCore().getEventBus();
  bus.subscribe("nav", "to", this.navToHandler, this);
  bus.subscribe("nav", "back", this.navBackHandler, this);
  navToHandler : function(channelId, eventId, data) {
  if (data && data.id) {
  // lazy load view
  if (this.app.getPage(data.id) === null) {
  jQuery.sap.log.info("now loading page '" + data.id + "'");
  this.app.addPage(sap.ui.jsview(data.id, "sap.m.mvc." + data.id));
  // Navigate to given page (include bindingContext)
  this.app.to(data.id, data.data.context);
  } else {
  jQuery.sap.log.error("nav-to event cannot be processed. Invalid data: " + data);
  navBackHandler : function() {
  this.app.back();
Sorry i'm new to this.
Regards,
Bart

Similar Messages

  • BEx Analyzer not working in SAP GUI 7.10

    Dear All,
    BEx Analyzer 7.0 is not working on SAP GUI 7.10. Following are the details:
    OS: Windows XP SP2
    Installed the following softwares (in the sequential order):
    1. Microsoft .Net Framework 2.0 SP1
    2. MS Office 2003 (without any service packs)
    3. SAP GUI 7.10 (used SAPAllSetup.exe) to install both BEx Analyzer 3.5 and BEx Analyzer 7.0 alongwith SAP GUI 7.10.
    While BEx Analyzer 3.5 runs fine, 7.0 does not.
    Upon running BEx Analyzer 7.0 from the Programs menu, I see a toolbar on the left hand side on MS Excel in German. Whenever I click on any button, they do not respond.
    When I tried to install update for Office 2003 (KB907417), I received the message stating the patch has already been applied.
    I also applied SAP GUI 7.10 Patch Level 8, but still the problem remains the same.
    Running Tcode RRMX from the SAP GUI opens MS Excel with both the toolbars of 3.5 (on top) and 7.0 (on left). As before, 3.5 works fine, while 7.0 does not.
    Do I need to install Office SP2 or SP3, as well? Or something else? Any solutions?
    Thanks and Regards,
    Sachin.

    Hi All,
    This problem is due to .NET 2.0 assembly(nothing but .dll's),
    Step1 : Check if you can see this C:\WINNT\assembly\GAC exists
    If it does and still getting the error, then follow these steps,
    1) Uninstall office03
    2) Uninstall GUI
    3) Uninstall .Net 2.0
    4) Reboot
    5) Install .dll(WindowsXP-KB935448-x86-dll.exe) fix(this is due to .net1.1 and 2.0 coexistence)----- only if u get a critical message at startup.
    5a) Reboot
    5b) Install .net1.1
    5c) Reboot
    5d) Install .net2.0
    5e) Reboot
    6) Install office 03
    6a) Reboot
    7) Install .PIA's (O2003PIA.MSI)
    7a) Reboot
    8) Install setupall.exe for GUI
    9) Install KB907---- (office2003-KB907417-FullFile-ENU.exe)
    10) Reboot
    Let me know if you encounter any problems.
    OR....
    Update the Latest Patchs of GUI & Bex.
    BI710SP03_300-10004472.EXE
    bi710sp04_400-10004472.exe
    gui710_6-10002995.exe
    Hope it helps you...
    @shaik

  • I have a problem with my MacBook Pro is the almost of my app not working at all like a app store and terminal and other important apps please if u can help me as fast as you can cuz i don't wanna format it that's why am on Mac now not win ?

    i have a problem with my MacBook Pro is the almost of my app not working at all like a app store and terminal and other important apps please if u can help me as fast as you can cuz i don't wanna format it that's why am on Mac now not win ?

    Abdussalam.A,
    you mentioned that Terminal does not work at all for your MacBook Pro. What currently happens when you run Terminal? In what way does it not work?

  • Pie chart with two measures and date dimension navigation not working

    Hi Experts,
    Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
    Thanks
    V

    Hi Deepak,
    I had time dimension in the RPD.
    I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
    I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..???

  • Sound alerts not working in Mail and Ichat apps since upgrade to 10.4.9

    I just noticed my Sound alets not working in Mail and Ichat apps since upgrade to 10.4.9.
    I'm using soundsticks which is playing sounds thru quicktime, itunes, etc but my alert sounds for getting new emails and IM messages is not working. I get the quick "white flash" on the screen instead. I checked the prefs on both apps and it is set to give me the alert sound, I can even test it in the ichat pref when I change the new message alert sound it will play it thru my speakers but when I get a new message in either app it just gives me the white flash.
    I'm read that it can be an issue of not having the balance in the system sound pref set the middle, so I checked that, restarted, all that but still no luck.
    I really like the sound alert features because I can be in another part of my house, turn the sound way up and I'll know when one of my clients is trying to reach me but now I can't do that.
    Any ideas?
    Thanks in advance!
    Brown.Recluse

    Ok, weird, strange...did ONE more restart and now its working fine...who knows?
    Me

  • Object based navigation not working in FPN

    Hi All,
    We are having issue with Object Based Navigation in FPN. 
    System details are, Central Portal 7.01 sp 06 and Child (SRM) Portal 7.01 SP 07.
    We are using the standard business package iView Check Status, which is working fine in Producer Portal and the same is not working in Central Portal.
    Kindly help us on this.
    Regards,
    Venkatesh K

    Hi Venkatesh,
    Before gettign into the isue there is some limitation given by sap on this reagrds of OBN with fpn:
    1.A content developer may create an OBN source iView to call the OBN service to run code that processes a number of target iViews and displays them for the user to choose from, during runtime, in a context menu accessible from the source iView.
    When in remote delta link mode, the federated portal network does not support this implementation of OBN, regardless or whether the source iView calling the OBN service was created in NetWeaver 7.1 or in NetWeaver 7.0 and then upgraded to 7.1.
    2.The user on the consumer side may have additional roles that the respective user on the producer does not have.
    Conversely, OBN does not search for targets in roles that the user has on the producer, which do not exist on the consumer.
    Note also: In remote role assignment mode all content editing is done on the producer, including the editingobject-based navigation, such as the removal and addition of implementations and changes in priority
    so as per your perspective issue can i clearly knwo abou the issue your getiing ,as it is working fine in Producer Portal and not in central portal right?
    Once check for the remote delta link which might help you to resolve your issue,Hope this information helps you or take near to the issue any more queries get back !
    Thanks&Regards
    AswinChandraGirmaji

  • Voice navigation not working on iOS 6 maps 4S

    Voice navigation is not working, no voice
    Coming out of maps  on iPhone 4S maps on iOS 6/6.0.1
    I have tried everything . Help needed!

    Sure it's availble in the country you're trying to use such? Read here:
    http://www.apple.com/ios/feature-availability/

  • How come my mini iPad is not working after trying to update apps?

    My mini iPad is repeatedly showing me a black screen with a, "white apple," in the middle & then a couple of minutes later it turns off for a few minutes. Then the black screen with the, "white apple," in the middle comes back on again and then it goes black again. Sometimes the black screen would lighten and the whole pattern of these "screens" would start over again. It's been doing this for hours since I fell asleep.
    This happened when I was trying to update 4-5 apps at the same time. It had trouble updating the, "Pinterest app." It failed once and I retried it and that's when my mini ipad started to not work. I can't use it at all. I never had trouble updating several apps at one time before. I was at home using my wifi and my wifi strength was at its maximum for the iPad.
    The battery was at 40 something%, so I charged it over night. It has the latest iOS update software. I had downloaded that yesterday.
    I plugged it into iTunes on my computer and the same thing is happening. It's picking up my icloud stuff like my music and videos and my computer is trying to import photos from my mini ipad automatically, but my iPad isn't fully recognizable on iTunes. I get 2 error messages. One says, "iTunes was unable to load data class information from Sync Services. Reconnect or try again later." I also get an error when trying to import photos (just to try it out). The other error message says, "The iPad cannot be sync because this iPad cannot be found."
    And so, I unplugged it and plugged it back in and I get the same response. My iTunes is the latest version.
    I don't have warranty on this iPad and I spent like $500 on this one. I'm kinda worried...?
    Any kind of response would be appreciated....

    First, try a system reset although I can't give you any confidence.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • ITServer - Internet Service created by us not working in SAP ECC

    Hai all,
    We have SAP R/3 4.6C and a ITS server 6.1. We created some Internet service and published in our ITS server.
    We have ugpraded our system to SAP ERP Central Component 5.0, which has inbuilt ITS server. I published the standard SAP internet service "BWSP" and our own internet services.  The problem is standard SAP Internet Service is working whereas the the internet service which we developed is not running.
    Before publishing i did the following settings, Utilities => Settings => Internet Transaction Server, in the "Test Service" tab i have selected "Default Web Server" radio button and on "Publish" tab i have selected "On All Defined Sites".
    I published the service by selecting Publish =>Complete Service by right clicking on the service name.
    When i execute the service using ITS url i am getting the following error
    Service cannot be reached
    What has happened?
    URL http://devnw2.xy.gov.sg:8000/sap/bc/gui/sap/its/ZGEESIS001/! call was terminated because the corresponding service is not available
    Please let me know what's wrong and what is the solution to correct it.
    Regards,
    Basha.

    Hai Raja,
    I tried adding in the entry as below.
    The below value i just copied from the service BWSP and put it here and changed the transaction code.
    ~TRANSACTION     zgeestc017
    ~THEME     99
    ~COOKIES     1
    ~DESIGNS     sap_streamline
    ~RUNTIMEMODE     pm
    ~DISCONNECTONCLOSE     0
    ~FLICKERFREE     0
    ~URLIMAGE     /sap/public/bc/its/graphics
    ~URLMIME     /sap/public/bc/its/mimes
    ~URLARCHIVE     /scripts/sapawl.dll
    ~GENERATEDYNPRO     1
    The below is the full error which i got when i tried to run the service after doing the above change.
    What has happened?
    URL http://devnw2.abc.gov.sg:8000/sap/bc/gui/sap/its/ZGEESIS001/! call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system D00 with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:devnw2_D00_00-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    Regards,
    Basha.

  • Shift+F2 not working in SAP GUI for ITS

    Hi,
    In my transactional iview (SAP GUI for ITS) , in one of the screens, shift+F2 is not working(Which in turn opens graph for the report) The same is working fine in SAP GUI for html.
    How can i make this work?
    Also, can i have a document with the comparision of SAP GUI for html & SAP GUI for ITS, specifying its advantages and dis-advantages as well?..
    Pls treat this query as urgent and respond ASAP.
    Thanks in advance,
    Kavitha

    ITS THE PROBLEM IN DEV NOT IN PROD ECC SYS

  • GoFunctionKey not working in SAP SRS application

    Hi Friends,
    I have been working on SAP SRS application which is created in Web Dynpro Java and some ABAP part too.
    It 7 dcs.
    The main dcs are: isisrsrsgrbcsap.com, isisrsrsgrappsap.com and isisrsrsamsap.com.
    ScanView is a view which inside a Web Dynpro Java Component ArticleComp which is inside the dc isisrsrsamsap.com.
    The ScanView has 4 buttons:
    1> Go button,
    2> Cancel button,
    3> Overview button
    and 4> Advanced Search button.
    The ScanView has 5 functionkey for mobile devices:
    1> GoFunctionKey,
    2> CancelFunctionKey,
    3> OverviewFunctionKey,
    4> AdvancedSearchFunctionKey
    and 5> BarCodeReader.
    The GoFunctionKey is not working.
    It has keycode PI_MaterialScanFk.Search_Go which gets the value 13 from a RFC.
    The onAction event of the function key GoFunctionKey is:
    public void onActionScan(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String scanData )
        //@@begin onActionScan(ServerEvent)
         //wdComponentAPI.getMessageManager().reportSuccess("Scan value: "+scanData);
         wdContext.currentPi_Mat_EanElement().setEan_Upc(scanData);
         wdThis.onActionSearch(wdEvent);     
        //@@end
    The onActionSearch event for the Go button is onActionSearch :
    public void onActionSearch(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSearch(ServerEvent)
         wdThis.wdGetArticleCompController().scanArticle();
         if (wdThis.wdGetArticleCompController().getSizeMatList()>0) {
              wdContext.nodePi_Mat_Ean().invalidate();
              if (wdThis.wdGetArticleCompController().getSizeMatList()==1)
                   wdThis.wdGetArticleCompController().goMaterialResult();
              else
                   wdThis.wdFirePlugToDispatcher(INavCodeConstants.NAV_CODE_COPY);
        //@@end
    So, internally GoFunctionKey calls the function of the Go button.
    But nothing happens when client clicks this Enter button of the mobile device.
    I am planning to debug the code by putting some breakpoints but it would not help.
    I have already tried to print statements inside the onActionScan by using wdComponentAPI.getMessageManager.reportSuccuess();
    but nothing is getting printed as the action is not getting called.
    There are some changes done in ABAP side but no customization done in the java side.
    Also, the mobile devices used are given below:
    http://emobilescan.co.uk/downloads/manuals/ppt8800.pdf
    Please show how to approach and solve this issue.
    Thanks & Regards
    Kaushik Banerjee

    Hi,
    I have not worked on mobile development but are you sure  wdComponentAPI.getMessageManager.reportSuccuess() works on mobile devices.
    Also you have called a method of your Comp Controller in onActionSearch. Check if it might be throwing an exception that is not being printed.
    Regards,
    Himanshu

  • Web Templates shortcut Not working in SAP Browser screen

    Hello All,
    I am facing a diffrent issue with Business Explorer Browser 3.x.
    When I try to open shortcuts which is for (Web templates) created in Business Explorer Brower 3.x they are not working properly.
    The addres stored for this web templates misses the server address in between.
    All the web templates were working fine before Support Pack upgrade. We recently has upgraded to SAP BW 7.02 support pack 7.
    I am not sure if this is support pack upgrade issue. Would like to know if someone faced same issue and how did they fixed it. is there any way to modify those address on PROD directly.
    Many Thanks,
    Vaishali

    Hi Vaishali,
    We also faced the similar issue and I contacted my basis team they have done some configuration in tables related to basis and then my web templates started working fine. I guess this is general issue which occurs after upgrade.
    I don't know the exact solution but you can check with your basis team.
    Regards,
    Durgesh.

  • Unable to embed External CSS file, dropdown list,filter panel and dimension filter are not working in SAP Design Studio Tool

    Hello Everyone,
    I am new to SAP Design Studio. I am working on creating dashboards and I am using Design Studio 1.2 version. Please suggest some solutions for the following issues. Thanks in Advance.
    1. External CSS file which is embeded using custom CSS option under "application component properties" is not working.
        * I kept the external CSS file inside repository-> my application folder.
    2. During runtime, getting javascript error while selecting '-' option from filter panel.
    3. Unable to select or type dimension name under "dimension filer component" properties.
    4. Getting runtime error for dropdown list, and I have inserted the following code under "onStartup" option of Application component properties.
    "DROPDOWN_1.setItems(DS_1.getMemberList("PRODUCTREF", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
    and dimension values are not populated in auto suggest."

    There should be an Error Log under View > Error Log that gives you more details of these errors.  Could you add that?  There is also a View > Script Problems log that provides more details as well.

  • CJ20N is not working in SAP ECC 6.0

    Hello Everybody.
    In my SAP ECC 6.0 I log in SPANISH and launch tcode: CJ2ON - Project Builder and it transaction code does not work my session hangs and the message in the status bar is: 
    STARTING APLICATION PROJECT BUILDER (English)
    Inicio Aplicación Project Builder (Spanish)
    For my Customer is a must to use this tcode in Spanish. In English this transacction works fine.
    Here the level components:
    SAP_BASIS            | 700        | 0006  | SAPKB70006           | SAP Basis Component                                         |
    SAP_ABA
    700
    0006
    SAPKA70006
    Cross-Application Component
    PI_BASIS
    2005_1_700
    0007
    SAPKIPYJ77
    PI_BASIS 2005_1_700
    ST-PI
    2005_1_700
    0002
    SAPKITLQI2
    SAP Solution Tools Plug-In
    SAP_BW
    700
    0006
    SAPKW70006
    SAP NetWeaver BI 7.0
    SAP_AP
    700
    0003
    SAPKNA7003
    SAP Application Platform
    SAP_HR
    600
    0003
    SAPKE60003
    Human Resources
    SAP_APPL
    600
    0003
    SAPKH60003
    Logistics and Accounting
    EA-IPPE
    400
    0003
    SAPKGPID03
    SAP iPPE
    EA-APPL
    600
    0003
    SAPKGPAD03
    SAP R/3 Enterprise Add-On PLM, SCM, Financials
    EA-DFPS
    600
    0003
    SAPKGPDD03
    SAP R/3 Enterprise Defense Forces & Public Securit
    EA-HR
    600
    0003
    SAPKGPHD03
    SAP R/3 Enterprise Add-On HR
    EA-FINSERV
    600
    0003
    SAPKGPFD03
    SAP R/3 Enterprise Financial Services
    FINBASIS
    600
    0003
    SAPK-60003INFINBASIS
    Fin. Basis
    EA-PS
    600
    0003
    SAPKGPPD03
    SAP R/3 Enterprise Public Services
    EA-RETAIL
    600
    0003
    SAPKGPRD03
    SAP R/3 Enterprise Retail
    EA-GLTRADE
    600
    0003
    SAPKGPGD03
    SAP R/3 Enterprise Global Trade
    ECC-DIMP
    600
    0001
    SAPK-60001INECCDIMP
    DIMP
    ERECRUIT
    600
    0003
    SAPK-60003INERECRUIT
    E-Recruiting
    FI-CA
    600
    0003
    SAPK-60003INFICA
    FI-CA
    FI-CAX
    600
    0003
    SAPK-60003INFICAX
    FI-CA Extended
    INSURANCE
    600
    0003
    SAPK-60003ININSURANC
    SAP Insurance
    IS-CWM
    600
    0003
    SAPK-60003INISCWM
    Industry Solution Catch Weight Management
    IS-H
    600
    0003
    SAPK-60003INISH
    SAP Healthcare
    IS-M
    600
    0003
    SAPK-60003INISM
    SAP MEDIA
    IS-OIL
    600
    0003
    SAPK-60003INISOIL
    IS-OIL
    IS-PS-CA
    600
    0003
    SAPK-60003INISPSCA
    IS-PUBLIC SECTOR CONTRACT ACCOUNTING
    IS-UT
    600
    0003
    SAPK-60003INISUT
    SAP Utilities/Telecommunication
    SEM-BW
    600
    0003
    SAPKGS6003
    SEM-BW: Strategic Enterprise Management
    LSOFE
    600
    0003
    SAPK-60003INLSOFE
    SAP Learning Solution Front-End
    | ST-A/PI              | 01H_ECC600 | 0000  |      -               | Application Servicetools for ECC 600            
    Have you experienced this issue, can you please give your ideas to solve it ?

    Hello,
    SWUF is workflow runtime system administration? Seems it disappeared in 4.6 or 4.7.
    Try SWDC_RUNTIME and SWDC_DEFINITION - not sure if they are in ECC6.
    Let us know if this is the solution.
    regards
    Rick Bakker
    Hanabi Technology

  • Proxy was not working  in sap r/3

    Hi All,
    I have a scenario from jdbc to SAP.I have made serverproxy.The proxy was not working.I have test the proxy backend it is working fine,but i am staring jdbc channel the data was not insert in to the database table in sap.I have checked in sxmb_moni in sap r/3 system is showing scuessfully,but data was not sent to proxy.I have put one break point in the code for debugging the proxy.But data was not comming to breakpoint.Kindly help me.
    Thanks
    Ravi

    Hi ,
    Please try with this link.
    http://ecohub.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0dec9f5-e9a0-2b10-c1a8-e355d01af932&overridelayout=true

Maybe you are looking for

  • How can I get downloads from one computer to another?

    My computer crashed and I was unable to get anything off including my music. How can I get all my downloads I have had for years onto another computer?

  • How to create csv file in stored procedure

    I want the output of my stored procedure in a csv file. How can I do that?

  • Stand-alone EJB3 Client

    My EJB is located on a remote located java application server (v9). The access code is:. System.setProperty("org.omg.CORBA.ORBInitialHost","abc.selfip.com"); InitialContext ctx = new InitialContext(); SessionUpdaterBean br = (SessionUpdaterBean) ctx.

  • A Map and ArrayList problem

    Hi all, I have a TreeMap that has a string as a key and an ArrayList of Integers as a value. What I'd like to do is get each of the ArrayLists, then determine for each ArrayList where the first nonzero entry is. Once I do that, I want to lump them to

  • ALT key notification in Swing / LookAndFeel

    I have a JPanel which is having JMenuBar. The JPanel is added it to the NORTH location of my JFrame. I have already set the mnemonics to all menus and menu items. Now I want the first menu of the menu bar (on JPanel) has to select automatically when