Automatically focus JInternalFrame when starting the application...

Hi,
I wonder why my JInternalFrame is not selected (focused) when I start the application - in NetBeans GUI editor I have set the following properties to make my JInternalFrame automatically selected when the app starts:
o enabled
o selected
o visible
Can anyone tell me how to make my JInternalFrame focused?
Thanks
- Stephan

Thanks but unfortunately that didn't solve my problem...
I even tried the following code excerpt...
try {
    jInternalFrame1.setSelected(true);
} catch (java.beans.PropertyVetoException e1) {
    e1.printStackTrace();
}... but it didn't work - my jInternalFrame1 is not focused on startup. Is this a bug in Java 1.4?
On the other hand I noticed that the example application (InternalFrameDemo) doesn't focus the first internal frame on startup, too - when creating another internal frame from within the application that frame gets focused...
http://java.sun.com/docs/books/tutorialJWS/uiswing/components/ex6/InternalFrameDemo.jnlp
Thanks in advance
- Stephan

Similar Messages

  • JWS opens a Applet Running Window when starting the application

    I have an applet that runs perfectly fine when starting it by double clicking the desktop icon of through the Internet Explorer. My problem is that when I start the applet it opens up another window with status bar displaying "Applet Running". Is there any way to stop displying this window.

    It sounds like you are launching you applet from Java Web Start application by BasicService.showDocument("http://www.mycompany.com/myapplet.jnlp");
    This would of course launch a browser , which would launch another instance of Java Web Start to run the second applet.
    If you have all-permissions you could:
    Runtime.exec("javaws http://www.mycompany.com/myapplet.jnlp");
    to launch javaws directly.
    would be nice if web start allowed this with something like BasicService.launchJNLPClient("http://www.mycompany.com/myapplet.jnlp");
    /Dietz

  • Error when starting the Application Server

    Hi..
    I have a few problem..
    I want to start the App/Portal Server.
    /oracle/infs/bin
    1)lsnrctl start - ok
    2)sqlplus start -ok
    3)oidmon start -ok
    4)oidctl server=oidldapd instance=1 configset=1 start -ok
    /oracle/infs/dcm/bin
    5)dcmctl start -cl -ok
    6)dcmctl start -ct ohs -ok
    7)dcmctl start -ct oc4j -ok
    but when i do step no 8)
    dcmctl getstate -v
    i got these error..
    "See base exception for details.
    Base Exception:
    oracle.ias.repository.schema.SchemaException:Unable to retrieve the requested at
    tributes:javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient
    Access Rights]; remaining name 'orclReferenceName=iasdb.portal.upm.edu.my,cn=IA
    S Infrastructure Databases, cn=IAS, cn=Products, cn=OracleContext'
    See base exception for details.
    $"
    I tried to start the EM first in /oracle/infs/bin
    emctl start
    but, the EM didn't have any data (no cluster info, no infs info,no apps info, it is blank!!)
    Plz Help me...thanks..

    user536800,
    A search of this forum's archives for the word "xerces" returns 75 hits.
    Perhaps one (or more) of those postings will help you?
    The way to integrate Xerces into OC4J differs, depending on which OC4J version you are using.
    Forgive me, but I couldn't find details of the version you are using in your post.
    I also believe the way to do it would also depend on the version of Xerces you are using, the JDK version you are using and maybe even on the platform you are on.
    Again, forgive me, but I could find none of those details in your post.
    Good Luck,
    Avi.

  • RH8 crashes when starting the application

    Everytime i attempt to start RH8 the splash screen pops up and starts loading but when it gets to Loading HTML Editors, it crashes with the following:
    I have performed a repair and nothing has changed.  I suppose it will be the uninstall then reinstall but i did not want to go that route without checking to see if anyone else has encountered this problem.

    I have solved my problem.  Switching to one video card got me on the right track in the previous post.  I was attempting to try a previous restore point and hit the F2 button which opened the BIOS for my laptop.  I started poking around in there to see what options were available and what setting options were selected.
    I found an interesting dock setting that allows the video card in the laptop to act as a primary and the dock video card to work as a secondary.  This allows my laptop screen to stay on and not require a hot dock.  It also allows RoboHelp to open properly.  There must be something in RH8 that was not happy about running from the secondary video card set as primary.  It has been working perfectly for years this way but I guess some windows update changed that now.
    This is a very nice setup though, a dell laptop in a d-dock with a pci dual video card.  It allows the laptop screen plus another monitor off the dvi port on back of the dock, plus 2 more monitors off the dual video card allowing 4 monitors.  It sounds like a lot but it allows me to use the laptop for email and helpdesk calls while using on monitor for solidworks, another with robohelp, and the 4th with photoshop, word and sometimes illustrator.
    Anyway, my system works better than ever and RH8 seems to be working normally now.  I think that there was a windows update the other day that started this whole problem rolling.  A rather odd solution to a nonstandard setup.  I wish our IT guys would have told me about this BIOS setting.  They are just trying to keep their heads above water while a few of us are pushing our computers to the maximum of their capabilities and they don't want to use their resources to really fix our problems.  They would rather reformat our drives and load the last image that worked to solve problems.  Brutal.

  • I get "ordinal 5 (and at times 18) is not found when trying to start the application? Using windows Vista Business.

    when starting the application I get the following message "ordinal 5 ( and at times 18) can not be found in the dynamic link libray" I'm using a Lenovo x300 with "Vista Business"

    Have you tried to put the Main-Class under a package (e.g. move LaunchSimulator to org.jyothi.sunke.LaunchSimulator or something)? I'm not sure but it's possible that Main-Class can't be located in the "root package", because the JAR launcher can't address it.
    Always put your stuff in a package, otherwise it can't be addressed by other packaged classes.
    - Erik

  • Exception when starting WebToGo-Application

    Hi,
    when I start a WebToGo-Application on the Mobile Client, I get this Exception:
    javax.servlet.ServletException: kta.replikation._Replikation.class not found
    "Replikation" is the JSP which should be displayed when starting the application. The file exists in the our Mobile Server's repository. Can anyone tell me, why the application can't find this file?
    Kind regards,
    Simon

    Hi Santharam,
    I believe this is a side effect of two cluster members having different versions of the same class due concurrent development and testing. The best way to separate the clusters is to set each to use a different multicast address for the cluster communication. this can be done easily by using the following command line argument:
    <tt>-Dtangosol.coherence.clusteraddress=224.1.1.x</tt>
    Where 'x' is a value between 1 and 254.
    I would also suggest setting the time-to-live of the multicast messages to zero so that the communication does not go beyond the development machine. This can be done with a similar command line argument:
    <tt>-Dtangosol.coherence.ttl=0</tt>
    Hope this helps.
    Later,
    Rob Misek
    Tangosol, Inc.
    Coherence: Cluster your Work. Work your Cluster.

  • CG02 Report from Template error when starting the display application

    System info: SAP GUI 720 (patch 10007878), ECC 6.0, SAP_APPL/EA-APPL 605, WWI 2.7 (patch 20000084)
    Hi, folks.
    I was able to execute CG02 'Report from Template' function. My local MS Word 2003 would open successfully to display the report as expected. Suddenly, I couldn't do that anymore. I'm now getting msg "An error occurred when starting the display application" (C$772). And I didn't change anything.
    Any clue to what has happened or why it is happening? In my Word, I have 'C:\Program Files\SAP\FrontEnd\SAPgui\wwi' set as the file location for User templates. What else should I check?
    Thanks in advance.

    Hi, Caroline.
    Thanks for pointing me (back) to it! (I've encountered a similar issue with the same param back in 2010...)
    I'm positive that the problem started after I tried to run the transaction code (of my custom report program that does the CG02 'Report from Template' function) from the web gui ('You Can Also' menu function). Somehow, the standard SAP fms within It changed the param ESWWI_INST value from 'EXISTFRONT' to 'WWISERVER'. So when I ran CG02 and the WWI server is not available yet, I received the error msg.

  • CG54--Report from Template error when starting the display application

    Hi,
              Currently I have MS 2013 installed on my workstatsion. But now whenever I try to open a template for any specification I get error "
    An error occurred when starting the display application--Message no. C$772"
    I have SAP Logon 730 Patch 11. Also in User profile I maintain EXISTFRONT for ESWWI_INST. But for some reason it keeps on getting reset as WWISERVER.
    Need help on the same.
    Regards,
    Rohan

    Dear Rohan
    your local WWI installation seems to be dusrupted. Check e.g.  EHS- Inconsistent WWI Report behaviour for different users
    and many similar threads. Check OSS Marketplace for Release of WWI in regards of WinWord 2013
    Dear Camila
    according to my knowlede: the local WWI insztallaiton is not a "generation server" one. The parameter symbol you have mentioned is dedicated for WWI server set upin GLM area only. Therefore your hint will not work (according to my knowledge). But there is some "but"...
    With SAP ERP EnhPack 3 you need not to install any more a local WWi but could use a WWI gen server farm. If you can use this option the WWI set up is very different. In this case may be your hint is correct.
    C.B.

  • MAC is turned off when you start the application.

    MAC выключается при запуске приложений.
    MAC is turned off when you start the application.
    P.S. it is desirable to give an answer on the Russian
    Interval Since Last Panic Report:  69711 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    BF785864-5B2E-7638-B9E8-ED938B20D6F6
    Thu May 23 20:28:41 2013
    panic(cpu 2 caller 0xffffff80242b7e95): Kernel trap at 0x0000000000000000, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x00000000053ca068, CR4: 0x00000000001606e0
    RAX: 0xffffff8024813e10, RBX: 0x0000000000000001, RCX: 0xffffff80248e04f0, RDX: 0xffffff8024890100
    RSP: 0xffffff810cd7b978, RBP: 0xffffff810cd7b9a0, RSI: 0x0000000000000001, RDI: 0xffffff8045a66410
    R8:  0x000000000000000e, R9:  0xffffff8045a90908, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
    R12: 0xffffff803e98cc02, R13: 0x0000000000000000, R14: 0xffffff803e98cc10, R15: 0xffffff8045a66410
    RFL: 0x0000000000010202, RIP: 0x0000000000000000, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000000, Error code: 0x0000000000000010, Fault CPU: 0x2
    Backtrace (CPU 2), Frame : Return Address
    0xffffff810cd7b610 : 0xffffff802421d626
    0xffffff810cd7b680 : 0xffffff80242b7e95
    0xffffff810cd7b850 : 0xffffff80242cd4dd
    0xffffff810cd7b870 : 0x0
    0xffffff810cd7b9a0 : 0xffffff80242772b2
    0xffffff810cd7b9d0 : 0xffffff8024585aae
    0xffffff810cd7b9e0 : 0xffffff80242f0981
    0xffffff810cd7ba30 : 0xffffff80242f0021
    0xffffff810cd7ba70 : 0xffffff80242f10d6
    0xffffff810cd7baa0 : 0xffffff80242ed939
    0xffffff810cd7bac0 : 0xffffff8024515c0a
    0xffffff810cd7bb20 : 0xffffff802431112c
    0xffffff810cd7bb90 : 0xffffff80242fc5f1
    0xffffff810cd7bd90 : 0xffffff80242fc93d
    0xffffff810cd7bf50 : 0xffffff80245e063a
    0xffffff810cd7bfb0 : 0xffffff80242cdd23
    BSD process name corresponding to current thread: installd
    Mac OS version:
    12D78
    Kernel version:
    Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST... [Show more]

    A: MAC is turned off when you start the application.

    I took in the store returned MAC. Although when you start offering configure everything from scratch. The OSes can reinstall?
    Last night passed out on completion of the work.
    Interval Since Last Panic Report:  75071 sec
    Panics Since Last Report:          2
    Anonymous UUID:                    BF785864-5B2E-7638-B9E8-ED938B20D6F6
    Thu May 23 23:25:35 2013
    panic(cpu 2 caller 0xffffff80036b7e95): Kernel trap at 0xffffff80036102b1, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000040001, CR3: 0x0000000079b9d056, CR4: 0x00000000001606e0
    RAX: 0x0000000000040001, RBX: 0x000000000000002c, RCX: 0x7fffffffffffffff, RDX: 0xffffff80f546bd88
    RSP: 0xffffff80f546bd30, RBP: 0xffffff80f546bd70, RSI: 0x000000000000002c, RDI: 0xffffff80f546bdb0
    R8:  0x000000000000001f, R9:  0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
    R12: 0xffffff802a9a6a20, R13: 0x0000000000000001, R14: 0x0000000000000070, R15: 0x0000000000040000
    RFL: 0x0000000000010216, RIP: 0xffffff80036102b1, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000040001, Error code: 0x0000000000000000, Fault CPU: 0x2
    Backtrace (CPU 2), Frame : Return Address
    0xffffff80f546b9d0 : 0xffffff800361d626
    0xffffff80f546ba40 : 0xffffff80036b7e95
    0xffffff80f546bc10 : 0xffffff80036cd4dd
    0xffffff80f546bc30 : 0xffffff80036102b1
    0xffffff80f546bd70 : 0xffffff8003620dc4
    0xffffff80f546bda0 : 0xffffff800364f0c1
    0xffffff80f546bde0 : 0xffffff8003616786
    0xffffff80f546be50 : 0xffffff800361831c
    0xffffff80f546be90 : 0xffffff8003635a40
    0xffffff80f546bed0 : 0xffffff80039556a7
    0xffffff80f546bf40 : 0xffffff8003955449
    0xffffff80f546bf50 : 0xffffff80039e063a
    0xffffff80f546bfb0 : 0xffffff80036cdd23
    BSD process name corresponding to current thread: ubd
    Mac OS version:
    12D78
    Kernel version:
    Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
    Kernel UUID: 3EB7D8A7-C2D3-32EC-80F4-AB37D61492C6
    Kernel slide:   �... [Show more]

    Read other 15 answers

  • After the trial period I bought when starting an application, but does not advance. As I can activate it?

    After the trial period I bought when starting an application, but does not advance. As I can activate it?

    Hi,
    Do you get any error while activating Muse, or could you please provide some more details.

  • Starting the application server

    Hi,
    I am new to Java Studio Enterprise 8. I try this tutorial
    http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/jse7/introjse7/index.html#Step_2:_Make_sure_Sun_Java_System_App
    which is for Java Studio Enterprise 7.
    I stop the firewall before anything :
    [X@Y Zip]$ sudo service iptables status
    Firewall is stopped.
    I start Java Studio Enterprise 8 IDE under Linux ([installdir]/jstudio_ent81/ide/bin/jstudio.sh). I clicked on runtime, I have two bullets, Bundled Java Tomcat (5.5.9) and Sun Java System Application Server. Unfortunately, unlike the picture provided on the tutorial I don't have an application server automatically started.
    I tried to start the tomcat server, this worked fine, I can use my browser to log on the tomcat server, http://localhost:8084. I switched it off.
    I tried starting the application server similarly but I get the following message after 5 minutes :
    "Error : The Sun Java System Application server could not start. More information about the cause is in the server log file. Possible reasons include:
    - Unknown master password (etc...)
    -Port conflicts (etc...)
    -Incorrect server information (etc...)
    -Corrupted Deployed Applications preventing the server to start (This can be seen in the server log file. etc... )"
    I don't think I've got anything running on those ports.
    [X@Y Zip]$ netstat -an|grep 8080
    [X@Y Zip]$ netstat -an|grep 8181
    [X@Y Zip]$ netstat -an|grep 4848
    [X@Y Zip]$ netstat -an|grep 7676
    [X@Y Zip]$ netstat -an|grep 3820
    [X@Y Zip]$ netstat -an|grep 3700
    [X@Y Zip]$ netstat -an|grep 5222
    In the server log file, I can't see much which would help [it seems to be long java command lines, but no particular message related to an error or a warning...]
    Thanks for your help,

    I reset the master password, but it did not change anything.
    I reinstalled everything, tried again, and still nothing on this side.
    There isn't anything in the log [when I click on "View server log" I get a "no such file or directory" dialog box...].
    When I click on start, I immediately get the following message on the shell :
    "Internal HTTP server running on port 8082" and I can use my web browser to go on "http://localhost:8082/"...

  • Error 8 when starting the extracting the program-data load error:status 51

    Dear all,
    <b>I am facing a data exracton problem while extracting data from SAP source system (Development Client 220). </b>The scenario and related setting are as the flowings:
    A. Setting:
    We have created 2 source system one for the development and another for the quality in BW development client
    1. BW server: SAP NetWeaver 2004s BI 7
    PI_BASIS: 2005_1_700 Level: 12
    SAP_BW: 700 Level:13
    Source system (Development Client 220)
    2. SAP ERP: SAP ERP Central Component 6.0
    PI_BASIS: 2005_1_700 Level: 12
    OS: SunOS
    Source system (Quality Client 300)
    2. SAP ERP: SAP ERP Central Component 6.0
    PI_BASIS: 2005_1_700 Level: 12
    OS: HP-UX
    B. The scenario:
    I was abele to load the Info provider from the Source system (Development Client 220), late we create another Source system (Quality Client 300) and abele to load the Info provider from that,
    After creating the another Source system (Quality Client 300), initially I abele to load the info provider from both the Source system – , but now I am unable to load the Info provider from the (Development Client 220),
    Source system Creation:
    For both 220 and 300, back ground user in source system is same with system type with same authorization (sap_all, sap_new, S_BI-WX_RFC) And user for source system to bw connection is dialog type (S_BI-WX_RFC, S_BI-WHM_RFC, SAP_ALL, SAP_NEW)
    1: Now while at the Info Package : Start data load immediately and then get the
    e-mail sent by user RFCUSER, and the content:
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Service API .
    2:Error in the detail tab of the call monitor as under,
    <b>bi data upload error:status 51 - error: Error 8 when starting the extracting the program </b>
    Extraction (messages): Errors occurred
      Error occurred in the data selection
    Transfer (IDocs and TRFC): Errors occurred
    Request IDoc : Application document not posted (red)
      bw side: status 03: "IDoc: 0000000000007088 Status: Data passed to port OK,
                                    IDoc sent to SAP system or external program"
      r<b>/3 side: status 51:  IDoc: 0000000000012140 Status: Application document not posted
                                   Error 8 when starting the extraction program</b>
    Info IDoc 1 : Application document posted (green)
       r/3 side: "IDoc: 0000000000012141 Status: Data passed to port OK
                     IDoc sent to SAP system or external program"
       bw side: "IDoc: 0000000000007089 Status: Application document posted,
                     IDoc was successfully transferred to the monitor updating"
    Have attached screen shots showing error at BW side.
    •     check connection is ok, tried to restore the setting for bw-r3 connection – though same problem
    •     Have checked partner profile.
    <b>what's wrong with the process? </b>
    Best regards,
    dushyant.

    Hi,
       Refer note 140147.
    Regards,
    Meiy

  • Error while trying to start the application

    Hi,
    Could any one please suggest the cause for this error. This error occured when I tried to start the application installed on Websphere server.
    --------Reading configuration for server: server1
    ADMU0111E: Program exiting with error:
    com.ibm.ws.process.exception.ProcessOpException:
    com.ibm.ws.process.exception.ProcessOpException: Error creating new
    process.
    Thanks in advance.

    Hi,
    Could any one please suggest the cause for this error. This error occured when I tried to start the application installed on Websphere server.
    --------Reading configuration for server: server1
    ADMU0111E: Program exiting with error:
    com.ibm.ws.process.exception.ProcessOpException:
    com.ibm.ws.process.exception.ProcessOpException: Error creating new
    process.
    Thanks in advance.

  • ABAP Trial version u2013 starting the application server

    Hi,
    I have a problem starting the application server via the management console. After choosing action ->start I have to enter user and password. Do I have to create a new user password combination, use the OS password or try bcuser and minisap? None of these three options worked out. I always get the message 'Start failed: 2 Invalid Credentials'. Or went there something wrong during the installation?
    Thanks for your help.
    Birgit

    Hey Birgit,
    In my case I installed ABAP Trial version (also known as MiniSap) on my local machine (Windows).
    When I turn on the machine, my Windows(OS) requires a User/Password (It was configured this way but it is possible you configure to not require a User/Password, it uses a default).
    When I instaled the ABAP Trial version, I logged on with a User/Password with administrator rights (it is necessary for installation).
    When, in the "Management Console", I start the ABAP (the "NSP" node), it asks me the user and password and I use the OS User/Password that I used to install ABAP Trial (above).
    If you are doing the same I don't know why the message "Start failed: 2 Invalid Credentials".
    Merry Christmas,
    Edited by: Walmir Catunda on Dec 15, 2008 11:34 AM

  • Server0 is taking more than one hr to start the applications

    we are in the meddile of tht sp19 uppgrade for portal server.
    when SDM is restarting the J2ee process, all of the them are not coming up
    and server0 process is taking lots of lots of time to start the applications.
    pls cud any one let me know wht to do
    Thank you
    Mallesh.

    It isn't, something has gone awry. Hold the power button for about 10 seconds to perform a forced shutdown. Then restart as normal. When you turn to the System Preferences, Users and Groups tab you will probably find that the account was deleted. But it may not be. If you chose the option to delete the user's folder, make sure that it is indeed deleted. It will probably be a good idea to start in recovery mode - restart holding the command R key - and use Disk Utility to repair the hard drive, just in case.

Maybe you are looking for

  • Problem while mapping Added field in DSO

    Hi SDNers, I want to add another filed (0CREATEDBY) in FIGL DSO. I have added that field by deleting the data in the DSO. that field has been added into Data Fields and activated it. Till now it is OK. But when i see that field in the Update Rules it

  • Highlighting  Source Data When Chart is been moved to Another Sheet?

    Hi, I know that when a chart is chosen, it's corresponding data becomes highlighted when the two (table and chart) are on the same sheet. Is there a way to highlight the data when the two are on separate sheets, so one could toggle between the two sh

  • Search Portlet

    I have a portlet that make a portal search for documents on some custom property. Before running the portlet I create the properties like searcheable and supported for use with documents property, then I mapped these props in the Global Document Prop

  • TableView Question

    I have a form with few fields and a table view.  I want like an inline editing function, where the user would enter the fields, and click on a button.  These data should be added to the tableview on the top, clear the fields for additional data entry

  • Res.getPathTranslated() does not return correct URL of the page requested

    Hi, The res.getPathTranslated() statement in the below code (in doFilter method) does not return the correct URL of the requested webpage. Whenever a web page is accessed using a return statement (eg : return "nextPage"; ) inside a button's action me