How to remove JFrame instance

Dear all
Can someone tell me ho to remove an instance without exit the whole system, the reason is I need to remove a JFrame after the user click the button, the setVisible() is not work in case.
any advice will be greatest appreciate.

show de .dispose() method. If this doesn't work, then look in this url and look for more methods:
http://java.sun.com/j2se/1.3/docs/api/javax/swing/JFrame.html

Similar Messages

  • How to remove all instance in a repeatable subform (bis)

    Hi Niall,
    A few years ago, you helped a user who asked "How to remove all instance in a repeatable subform". Please could you do again with approximately the same problem ?
    In a click event, I have the script "_CarteEN.addInstance();". Well ! Many cards appear. To protect them, I put above a mask (it's a button with a background Fill). Now, how can I do to remove all masks with only one click using the resetdata or anything else...
    I try this but it doesn't work.
    while (flowedSubform.CarteEN._CacheCV.count > 2)
         flowedSubform.CarteEN._CacheCV.removeInstance(1);
    Many thanks for your help !

    There is no subform named "flowedSubform"
    The "CacheCV" is not a container object (subform). so you can't access the instanceManger of this object.
    the below lines should work
    while(_CarteEN.count >1)
         _CarteEN.removeInstance(1);
    Nith

  • How to remove ias instance

    I uninstalled an ias instance from one machine, but it still shows on infrastructure EM website. Where can I find relevant information on how to remove this ias instance from the infrastructure ??
    Thank you,
    Jn

    To answer to my own question, the command to use is:
    dcmctl destroyInstance -i <instance name>
    Hope this helps,
    Jn

  • How to remove an instance from essbase cluster

    I installed the new Hyperion 11.1.2, and I reconfigure the essbase server, it is added to the EssbaseCluser_1, now I have set up 2 instances for this cluster. Now I want to remove an instance from the cluster, how to do it with MaxL or what ever?

    [url=http://download.oracle.com/docs/cd/B19306_01/serv
    er.102/b14200/statements_8009.htm#i2157988]DROP
    DATABASEInstance and Database are different things, be careful before using this statement after 10g :)
    [from-documentation]
    An Oracle server consists of an Oracle database and an Oracle instance.
    The database consists of physical files such as:
    The control file where the database configuration is stored
    The redo log files, which have information required for database recovery
    The data files where all data is stored
    The parameter file, which contains the parameters that control the size and properties of an instance
    The password file, which contains the superuser (SYSOPER and SYSDBA) passwords
    The instance consists of memory structures such as System Global Area (SGA) and Program Global Area (PGA) and background processes that perform tasks within the database as well as the server processes that are initiated for each user session.
    The size and structure of an Oracle database and instance impact performance. The physical structure of the database impacts the I/O to hard disks. It is therefore important to both size and place the physical files in such a way that I/O across disks is distributed evenly and waits are minimized. The size of the various memory areas of the instance directly impacts the speed of SQL processing.
    [from-documentation]

  • How to remove previous instance of Netweaver 2004???

    Hi
    During Netweaver 2004 installation on AIX I got error as Wrong or unsupported SAP DB software installation
    DB startup failed
    To start installation again newly , I deleted /sapdb and /usr/sap./etc/opt/sapdb /usr/spool/sql also all the files in installation folder /local/installsap
    and started installation again in different folder.
    <b>
    INFO       2007-03-29 13:15:35
               CJSlibModule::writeInfo_impl()
    Looking for SAP system instances installed on this host...
    INFO       2007-03-29 13:15:51
               CJSlibModule::writeInfo_impl()
    Found these instances:
    sid: SUN, number: 01, name: SCS01, host: CTSAIX02
    sid: SUN, number: 00, name: JC00, host: CTSAIX02
    WARNING[E] 2007-03-29 13:15:52 [syxxcnamrs.cpp:128]
               PSyServicesEntry CSyIPNameResolverImpl::getServiceByName(const iastring& serviceName, const iastring& protocol) const
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    INFO       2007-03-29 13:15:52 [syuxcaccmg.cpp:243]
               bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)
    Account j2eadm does not exist.
    INFO       2007-03-29 13:18:29 [syxxcfile.cpp:523]
               CSyFileImpl::copy(const CSyPath & ., ISyNode::eCopyMode 3, ISyProgressObserver*) const 
    Copying file /local/sapbinaries/java_dvd/51030724_2/DVD_NW_04_SR1_SAP_Web_AS_JAVA/J2EE_OSINDEP/JDKVersion.xml to: ..
    INFO       2007-03-29 13:18:29 [syuxcpath.cpp:369]
               CSyPath::createFile()
    Creating file /local/NetWeaver2004/JDKVersion.xml.
    INFO       2007-03-29 13:18:29
               CJSlibModule::writeInfo_impl()
    Directory /usr/java14_64/bin is not a valid JDK directory: the java executable is missing.
    INFO       2007-03-29 13:18:29
               CJSlibModule::writeInfo_impl()
    Execution of the command "/usr/java14_64/bin/java -version" finished with return code 0. Output: java version "1.4.2"</b>
    In new installation it is detecting previous instance as well.
    Which files should I remove so as to remove the instance completely?

    Yes.
    Do all people visit all forums..?
    I'll not open it in more than one forums then.

  • How to remove netweaver instance completely?

    Hi
    During Netweaver 2004 installation on AIX I got error as Wrong or unsupported SAP DB software installation
    DB startup failed
    To start installation again newly , I deleted /sapdb and /usr/sap./etc/opt/sapdb /usr/spool/sql also all the files in installation folder /local/installsap
    and started installation again in different folder.
    INFO 2007-03-29 13:15:35
    CJSlibModule::writeInfo_impl()
    Looking for SAP system instances installed on this host...
    INFO 2007-03-29 13:15:51
    CJSlibModule::writeInfo_impl()
    Found these instances:
    sid: SUN, number: 01, name: SCS01, host: CTSAIX02
    sid: SUN, number: 00, name: JC00, host: CTSAIX02
    WARNING[E] 2007-03-29 13:15:52 [syxxcnamrs.cpp:128]
    PSyServicesEntry CSyIPNameResolverImpl::getServiceByName(const iastring& serviceName, const iastring& protocol) const
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    INFO 2007-03-29 13:15:52 [syuxcaccmg.cpp:243]
    bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)
    Account j2eadm does not exist.
    INFO 2007-03-29 13:18:29 [syxxcfile.cpp:523]
    CSyFileImpl::copy(const CSyPath & ., ISyNode::eCopyMode 3, ISyProgressObserver*) const
    Copying file /local/sapbinaries/java_dvd/51030724_2/DVD_NW_04_SR1_SAP_Web_AS_JAVA/J2EE_OSINDEP/JDKVersion.xml to: ..
    INFO 2007-03-29 13:18:29 [syuxcpath.cpp:369]
    CSyPath::createFile()
    Creating file /local/NetWeaver2004/JDKVersion.xml.
    INFO 2007-03-29 13:18:29
    CJSlibModule::writeInfo_impl()
    Directory /usr/java14_64/bin is not a valid JDK directory: the java executable is missing.
    INFO 2007-03-29 13:18:29
    CJSlibModule::writeInfo_impl()
    Execution of the command "/usr/java14_64/bin/java -version" finished with return code 0. Output: java version "1.4.2"
    In new installation it is detecting previous instance as well.
    Which files should I remove so as to remove the instance completely?

    Hi ,
    I removed all the folders of previous Netweaver 2004 installation from aix machine, as there was problem in starting server .
    In new installation I am getting following error:
    ERROR 2007-05-28 10:11:59 [iaxxinscbk.cpp:289]
    abortInstallation MDB-07021 Registry information for database software found in system but the software check failed. The software was not properly removed or installed incorrectly.
    I have already deleted following folders:
    /sapdb
    /usr/sapdb
    /usr/spool/sql
    /sapmnt/
    /home/sqdjet
    /home/jetadm
    Is there any folder remaining to delete?
    Please help.

  • How to remove netweaver instance on AIX machine completely?

    Hi
    During Netweaver 2004 installation on AIX I got error as Wrong or unsupported SAP DB software installation
    DB startup failed
    To start installation again newly , I deleted /sapdb and /usr/sap./etc/opt/sapdb /usr/spool/sql also all the files in installation folder /local/installsap
    and started installation again in different folder.
    INFO 2007-03-29 13:15:35
    CJSlibModule::writeInfo_impl()
    Looking for SAP system instances installed on this host...
    INFO 2007-03-29 13:15:51
    CJSlibModule::writeInfo_impl()
    Found these instances:
    sid: SUN, number: 01, name: SCS01, host: CTSAIX02
    sid: SUN, number: 00, name: JC00, host: CTSAIX02
    WARNING[E] 2007-03-29 13:15:52 [syxxcnamrs.cpp:128]
    PSyServicesEntry CSyIPNameResolverImpl::getServiceByName(const iastring& serviceName, const iastring& protocol) const
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    INFO 2007-03-29 13:15:52 [syuxcaccmg.cpp:243]
    bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)
    Account j2eadm does not exist.
    INFO 2007-03-29 13:18:29 [syxxcfile.cpp:523]
    CSyFileImpl::copy(const CSyPath & ., ISyNode::eCopyMode 3, ISyProgressObserver*) const
    Copying file /local/sapbinaries/java_dvd/51030724_2/DVD_NW_04_SR1_SAP_Web_AS_JAVA/J2EE_OSINDEP/JDKVersion.xml to: ..
    INFO 2007-03-29 13:18:29 [syuxcpath.cpp:369]
    CSyPath::createFile()
    Creating file /local/NetWeaver2004/JDKVersion.xml.
    INFO 2007-03-29 13:18:29
    CJSlibModule::writeInfo_impl()
    Directory /usr/java14_64/bin is not a valid JDK directory: the java executable is missing.
    INFO 2007-03-29 13:18:29
    CJSlibModule::writeInfo_impl()
    Execution of the command "/usr/java14_64/bin/java -version" finished with return code 0. Output: java version "1.4.2"
    In new installation it is detecting previous instance as well.
    Which files should I remove so as to remove the instance completely?

    follow Note 599129 - Using SDBUNINST to uninstall MaxDB/SAP DB software
    follow the steps given in the installation guide for uninstall SAP.
    Cheers,
    -Sunil

  • How to remove jFrame Tittlebar ?

    I want to create a frame / panel that contains image before computer run my application. How to create that ? Should i use jFrame then hide / remove tittlebar ?

    Try to use JWindow instead of JFrame. A JWindow has no title bar.

  • How to remove multiple instances of a content type (jpeg) in Options/Applications?

    Want to save a JPEG on email messages however am not receiving the "Open or Save File" option when clicking on download. When checking the Options/Applications/Content Type list, JPEG Image appears twice and the Action for one of those cannot be changed. Thought removing one of these Content Types might resolved the problem, however it cannot be removed, at least without further instructions for doing such.

    hello, maybe the file which holds the download actions became corrupted. please try the following: go to the
    * firefox ''menu [[Image:New Fx Menu]] > help [[Image:Help-29]] > troubleshooting information'',
    click on ''profile folder/show folder'' and close all firefox windows afterwards. a windows explorer window should open up - in there rename or delete the file named '''mimetypes.rdf''' - it will be regenerated again the next time you launch the browser.

  • How to remove any instance of "border-radius: 100%;" on a certain website?

    I want to disable this line from appearing in the inspect element on one website only. How do I make firefox do this automatically? If possible, just make it an addon because IDK how and I dont know how to code. Not going to learn.
    Has to work in firefox 28, and I only want to prevent Firefox from loading this line.

    Aha, okay, you can use a custom style rule to hack the page. I realize this kind of looks like coding, but the code is already written, so it's more like copying and pasting.
    First, you can install the Stylish extension. This add-on makes it easier to apply custom style rules to pages (and, if necessary, Firefox's UI). You can get it here: https://addons.mozilla.org/firefox/addon/stylish/
    Second, you'll need to select and copy this six-line style rule:
    @namespace url(http://www.w3.org/1999/xhtml);
    @-moz-document domain("www.mineheroes.net") {
    .avatar img, .avatar .img, .avatarCropper {
    border-radius: 2px !important;
    Third, load up a thread in the site and look for the Stylish "S" icon on the toolbar. ''(If necessary, you can use the Customize feature to add it to the toolbar temporarily. See: [[Customize Firefox controls, buttons and toolbars]].)''
    Click the S, then Write New Style, then Blank Style.
    A new tab should open with the cursor next to "1" (the line number counter).
    Paste the rule you copied earlier and click Preview.
    When you switch back to the forum, the avatar icons should be (mostly) square again.
    I have attached a screen shot showing what that should look like. ''(To shrink the rule editor to a small box, I first right-clicked the tab and used Move to New Window.)''
    Assuming it worked, you can switch back over the Stylish editor, give your rule a name, and save it.
    Any luck?

  • How to remove service names

    One thing about oracle that I am unable to understand is that when we uninstall oracle, all the service names for its different services stay there in the services section in WindowsXP. I know how to remove the instance name services, but I am unable all the other services. Does anyone know how to remove all those services?

    a launch daemon should normally have a .plist extension. did you skip it? that would explain why the command gives an error.
    the command you are using is basically correct. you don't need sudo because the daemon is in your home directory. also, to unload it so that it doesn't load automatically on the next login you should use -w switch. this will add a 'disabled' flag to the daemon. the syntax is
    launchctl unload -w /path/to/daemon
    However, as others have said the best thing is to trash the daemon and log out/in. you don't need it for anything as you've removed the application that created it.

  • How to remove a member from cluster while CQ (cq5.5) instances are running?

    Hello,
    I have a query:
    how to remove a member from cluster while CQ instances are running? And is there any particular log to check that it got removed?
    Thanks in advance..

    I might be wrong. AFAIK you do not have the option to remove without shutting down and modfying cluster.properties.
    However this usecase would be minimal because before going into production you would have verified your architecture.

  • How to remove one sap Instance where 2 instance running in same server

    How to remove one sap BW Instance from server where 2 instance running in same server.
    We have 2 BW Instances ( QW1 and CW1) running in the same physical server (windows 2003 + MSSQL). Now we want remove one Instance from the server completly. Could any one give steps or procudure which we should follow to remove one instance without disturbing another one. Both instances are Central Instances.
    SAP System component version: SAP NetWeaver 2004s (2007)
    Please help me in this...let me know if you need any more inforamtion.
    Thanks in advance.
    Sridhar

    Hi Sridhar,
    You can definitely remove an instance completey. When you select uninstall option using sapinst, it will give you a list of running instances on the node using profile files.
    You can select which one to uninstall.
    Best Regards
    RAGHU

  • How can i transform MFC HWND into jpanel or jframe instance

    Hi!
    I want to open a MFC window, then with the HWND , i want to open java subwindow created inside the MFC window with the HWND, i wonder if there is a way. how can i transform the HWND into jpanel or jframe instance.

    Look at the article in CodeProject and read the example in it. The other questions you can send to my email because I cannot give you concrete response in this forum.

  • How to remove the Planned leave from the LOV of Absence status? Only confirmed leave should be listed. for 11i instance.

    Hi Gurus,
    How to remove the Planned leave from the LOV of Absence status? Only confirmed leave should be listed. for 11i instance.
    Thanks
    Shobhit Shukla

    Hi Shobhit,
    Please personalize the self-service page and make that field non-updatable with default value "Confirmed".
    Thanks,
    Avinash

Maybe you are looking for