'Run' terminal window not closing

I have an Java application which I have created an installation package for using InstallAnywhere.
On Solaris when launching the application using the alias from a terminal window it works fine. But, when I launch the application from the File Manager, by double-clicking, it creates an 'extra' terminal window called 'Run', this terminal window doesn't terminate when I exit my application.
How can I prevent this, can I prevent the 'Run' window from starting using some sort of setting, or can I somehow make sure it is closed togheter with the application?
On Linux (SuSE10) the OS asks how I would like to run my application so I don't have the same problem there.

Hi Kanwalpreet
For basic idea please refer to the following link
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dialog%20boxes%20in%20web%20dynpro%20applications.pdf">Dialog Boxes in WebDynpro</a>
Go Through <b>page 16</b> of the PDF Document
Regards
Chaitanya.A

Similar Messages

  • Interactive Terminal Window not giving username prompt

    Hi,
    Have an issue that began a few month's ago where users dialing into my AS5350 access servers (to authenticate) never get the username prompt in the interactive terminal window. We suspect an MS hotfix or something because the 5350's all check out, and using my home PC I do not experience problem (and I don't get force-fed the MS hotfixes either). Anyone experience a similar issue? We're running IOS 12.3 (14)T. TY

    Kevin
    I have seen that symptom on AS5350 using the interactive window to allow users to authenticate. I have also wondered if it were the result of a Microsoft "fix". I have discovered that if the user will hit enter that they then get the prompt (and if fact if they just type their userID and hit enter it will be accepted).
    HTH
    Rick

  • 2nd Document window not closing

    I have 2 Document windows,
    - win1 is parent window.
    - win2 is a small window with 3 display fields
    and 2 buttons OK & Cancel.
    - other setting for 'win2' is
    Modal = 'YES'
    Close Allowed = 'YES'
    i have problem with Cancel button code, i am giving
    if :SYSTEM.EVENT_WINDOW = 'WIN2' then
    GO_ITEM('CTRL.FLD5');
    HIDE_Window('WIN2');
    end if;
    The WIN2 is not closing,
    i am calling this 'WIN2' from a WVI trigger of a field on parent window 'win1'
    by issuing SHow_WINDOW('win2') command.
    but it flashes error FRM-40737: illegal restricted Procedure SET_WINDOW_PROPERTY in WVI trigger.
    Any one please suggest. TY.

    hi Sarah,
    i dont to know to which item's WVI should i atttach this code.
    Since the window Closed_Allowed property is set "yes".
    the same code given at Form-level When-Widow-Closed, works well, closes the window in 1 click.
    but i dont know the same code given for Cancel button, does not close 'win2',
    One more point, first time when win2 is shown, that time, out of the [x] button on the status bar &
    Cancel button on win2, if i use [x] button first, then 'win2' closes and cursor is back in CTRL.FLD5 on 'win1', fair enough.
    then afterwards from CTRL.FLD5 when 'win2' is called again then the Cancel button code works fine just like the [x] button.
    but the question is why not first time, if i choose Cancel button first. why it is required [x] button to be used first.
    So the problems are;
    - FRM-40737 is thrown whenever win2 in invoked from CTRL.FLD5
    - 'WIN2' does not close by pressing Cancel button, when displayed first time.

  • Keyboard shortcuts: adding service to open a Terminal window not being saved

    Hi
    Objective: A shortcut to open a terminal window with the path of the 'in-focus' Finder window (Mavericks).
    Solution (that doesn't work): Apple Menu/System Preferences/Keyboard
    Select: Shortcuts
    Select: Services
    Check box for: New Terminal At Folder
    Close System Preferences
    This approach seems to be advised on quite a few sites. When I do it, the service I add simply doesn't get saved. I go back into the System Preferences and look under the path above and see that the box for New Terminal Åt Folder is unchecked.
    Any help in being able to achieve my objective would be greatly appreciated :-)

    Those things are saved as part of the workspace. It sounds as if the current workspace file has become corrupt. Close ID, then go to your user profile and you'll find the workspaces folder under \Application Data\Adobe\InDesign\Version 6.0\<language>\Workspaces. Delete the "current" xml file for the workspace and restart ID. The workspace will be restored to the conditions set when it was saved, but hopefully will remember changes again when you close the program.

  • Groups Window not closing like before update 4.3

    After the update to Android 4.3, group windows often don't close after you hit the home button to exit/switch apps.  This behavior is a little annoying.  Is this a bug or working as designed?
    After I switch apps using the home button, I expect the group window I used to launch an app to be closed...I don't expect to press the home button twice.

    If I'm understanding you correctly, I'm experiencing the same thing. It isn't a matter of specific apps, but of the way Android 4.3 now handles folders on Home screens. For instance, I have some folders on my Home screen with quick-dial links. I open the folder, tap a link, and it dials the contact. When I'm done and go back to my Home screen, there the folder is still open. The same thing happens with folders that have apps.
    This is a change made in Android 4.3 in comparison to earlier versions of Android. Many people have commented on this online, most of them as unhappy about it as you and I, kil. (E.g., this post and the ones following it in an Android Central thread.) Unfortunately, there's nothing that can be done about it. Maybe they'll change it back in the next version of Android, maybe not.

  • Window not closing

    In one of my views i have a button...when i press that a window opens up with a drop down list.......when i select a value from the drop down n press ok it throws an exception....
       com.sap.tc.webdynpro.services.exceptions.WDIllegalArgumentException: Tried to close window ID MPCELLJBfa title Select a Reason, but was not on top of the queue. Top window ID MPCEf7 title Docket Details!
        at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.popModalWindow(ApplicationWindow.java:161)
        at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doClose(WebDynproWindow.java:398)
        at com.sap.tc.webdynpro.clientserver.window.Window.doClose(Window.java:153)
        at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.handle(ApplicationWindow.java:270)
        at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.handleWindowEvents(ApplicationWindow.java:237
    what cud b the way out...
    null

    Hi Kanwalpreet
    For basic idea please refer to the following link
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dialog%20boxes%20in%20web%20dynpro%20applications.pdf">Dialog Boxes in WebDynpro</a>
    Go Through <b>page 16</b> of the PDF Document
    Regards
    Chaitanya.A

  • Windows not closing in safari

    whenever I use safari and try to close a window, the red x button does not work. What can I do? Please HELP ME!!!!!
    ibook g4   Mac OS X (10.4.5)  

    Hi hulkman,
    Have a search of the forums (search box in the top right hand corner of the window) - this issue has been mentioned a few times already so hopefully those posts will tell you how to fix things.

  • About window not closing

    When I go into the about window for Adobe Reader X it shows the relevant paces and I have version 10.1.11. I am then unable to close the window by selecting the red cross and the window just stays. The only way I can close the window is going into to taskmanager and closing the program

    YOUR RIGHT. Worked first time. Thanks
    On Wed, Sep 24, 2014 at 2:43 PM, Pat Willener <[email protected]>

  • Jframe window not closing

    Hi can anyone plz tell me how i will close my jframe window..
    I have a button called EXIT,clicking which i want to close my Frame...
    I am writiing setvisible(false) but thats not working..

    use
    System.exit(0);
    All the best

  • Process still running when windows are closed

    Sometimes when I try to open Firefox I get a message stating that it is still running and I cannot open until I go to the task manager and end the Firefox process which is usually using several thousand kbs of RAM. What the hell is going on?

    The above solution sounds like a bunch of BS. I never had to go to the file menu and select close firefox before I downloaded the latest version, version 5.0.1.
    You guys a Mozilla hosed the program and ruined a good, no great thing.
    FIX IT RIGHT!!!

  • Dialog/Frame window not closing

    I have an instruction dialog that pops up in an application, but if the close (X) is pressed it doesn't close the dialog/Frame.
    Dimension dem = getSize();
                   Frame r = new Frame();                    
                   Dialog d = new Dialog(r);
                   TextArea t = new TextArea("",100,100,TextArea.SCROLLBARS_NONE);
                   t.setBackground(new Color(0,0,102));
                   t.setForeground(Color.white);
                   t.setFont(new Font("Helvetica",6,14));
                   t.append(
                        "Grammar Checking Instructions: "+"\n\n"+
                        " -Use the Lexicon provided to creates a sentence for grammatical"+"\n"+
                        " checking."+"\n"+
                        " -The sentence can be typed in the text field provided or the user can"+"\n"+
                        " load a sentence from a file. (*.txt format)"+"\n"+
                        " -Press the 'Check Sentence' button for the sentence to be analyzed"+"\n\n"+
                        "Grammar Rules: "+"\n\n"+
                        " S -> NP Pred"+"\n"+
                        " Pred -> v NP PP | v PP NP | v NP | v PP | v"+"\n"+
                        " PP -> p NP"+"\n"+
                        " NP -> det. NP* | NP*"+"\n"+
                        " NP* -> adj NP* | n");
                   d.add(t);
                   d.setTitle("Grammar Checking");
                   d.setSize(475,300);
                   d.setLocation(dem.height/2 -140,dem.width/2 -40);
                   d.setResizable(false);
                   d.show();
                   r.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {System.exit(0);}});     
    thanks for the help,
    steve

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame {
      JDialog myDialog;
      public Test() {
        myDialog = new JDialog(this,"Sample Dialog");
        myDialog.setSize(50,50);
        myDialog.getContentPane().add(new JLabel("Hello"));
        JPanel content = (JPanel)getContentPane();
        JButton myButton = new JButton("Dialog");
        content.add(myButton);
        myButton.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent ae) {
         myDialog.show();
        addWindowListener(new WindowAdapter() {
          public void windowClosed(WindowEvent e) { System.exit(0); }
      public static void main(String[] args) {
        Test test = new Test();
        test.setSize(100,100);
        test.show();
    }

  • Terminal window blinking cursor will not accept keyboard entry

    Have SunBlade100 w/ Solaris8.
    This is probably a dumb beginner question...
    When I enter certain commands at the terminal window - in this particular case
    # cat /dev/cua/a
    and I hit <return> the cursor skips to the next line, and
    continues blinking , and will not accept any keyboard entries.
    1. What is the significance of this? Is the cursor waiting further action, and if so, what?
    2. How do I get back to the prompt?
    3. Under this condition, is it safe to exit the terminal window by closing from the Window menu? (I can't type "exit" because the cursor won't accept keyboard entries, and Help for "closing the terminal" warns against closing from the Window menu because any background processes will not be terminated (and this may cause problems).
    Thanks in advance for any info on this.

    Thanks again for the info. <control>+C was exactly what I was looking for. It's coming back to me now-- the last time I had contact w/ UNIX was back in '85 at UC Berkeley (no GUI's back then!).
    I'm assuming that <control>+C is a graceful (i.e. relatively harmless way to exit the command.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Terminal Windows don't login locally

    I have a saved group of terminal windows that, when opened, not all windows actually login locally with a command prompt. Often any number of the terminal windows just hang, with no command prompt. Any ideas?

    how can i post a screen shot here?
    basically, in the morning, I boot up.
    I click on my terminal icon in my nav bar, and 4 windows open (hence saved group).
    Within those 4 terminal windows, not all windows show the command prompt. Sometimes, only 1 gives me a command prompt and the others are just blinking cursors. Sometimes, I get 2, 3, or all, but always different.

  • Running a Java App like a service in linux and not closing with window

    I know its not really a question i should ask you but thought you might have a quick answer for me, I have trying to running a small java application on one of the servers. I want it to run almost like a service, what i mean is i dont want the application to end when the terminal session is ended. So i thought i should put an entry into the /etc/rc.local file as follows (Final Line):
    cd /home/bluepoint/Teamselect_ServerApp_v1.0/bin/
    java Server
    #!/bin/sh
    # This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.
    touch /var/lock/subsys/local
    /home/bluepoint/kmyfirewall.sh
    su - bluepoint "/usr/local/tomcat/jakarta-tomcat-5.0.28/bin/startup.sh"
    cd /home/bluepoint/startme.sh
    As you will see it call a shell script which contains only the following lines (or see attached):cd /home/bluepoint/Teamselect_ServerApp_v1.0/bin/
    java Server
    but nothing happens when i restart the server. The DB, sendmail, tomcat etc start fine but not my app.
    The application works fine if i start it in a terminal window so i know it can run.
    Any ideas what im doing wrong??
    Kind Regards

    It's probably not happening because you missed the -c from the su command. However this isn't the correct approach to daemon processes on linux (which is what you're after).
    What you need to do is to place a script in the /etc/init.d directory. This script should take a single argument and start the daemon if the argument is "start", and stop it if "stop". Check out the scripts already in there to see how it's done.
    Then go to System Settings/Server settings/Services and enable the new service for the normal run level.

  • I keep getting this message after closing Firefox and attempt to reopen-Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    I keep getting this message after closing Firefox and attempt to reopen-Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    See:
    * http://kb.mozillazine.org/Recovering_a_missing_profile
    * http://kb.mozillazine.org/Profile_in_use

Maybe you are looking for

  • Transfer of data from blackberry to iphone

    how do you transfer all data pics emails and contacts etc to iphone from blackberry easily?

  • Using getDistanceFrom function in CLLocation

    I would like to calculate the distance between the two coordinates, so I created two CLLocation objects as follow: CLLocation *loc1 = [[CLLocation alloc] initWithLatitude:40.443561 longitude:-79.945592]; CLLocation *loc2 = [[CLLocation alloc] initWit

  • How to block certain web pages?

    This web page opens by itself in a new tab and starts talking. http://malwarewarning.net/ It is an obvious scam. I have tried deleting cookies. Is their any way to get rid of this? It is very annoying.

  • Premiere Pro CC 2014 hangs on export

    I opened a project that worked on the previous version and everything played fine in the 2014 update, rendering previews and smooth playback with no problems. When I go to export it hangs. The sequence is full of ProRes 4444 footage with the sequence

  • IOS 7 - Retracting the SMS Keyboard

    With iOS5 & 6, I could pull down the keyboard in the SMS app and the message thread would snap firmly at the bottom just below the most recent message, similar for example to tapping on an empty part of the screen in Whatsapp. With iOS7, the momentum