Can I execute my task without openning a new window?

Hi, all.
Is it possible to execute a task withiut openning a new window?
If it`s possible, how can I do that? Thanks
Best Regards.
Louis Huang.

Hi Louis,
Well, you could change the configuration for the UWL item (System Administration -> System Configuration -> Universal Worklist & Workflow -> Universal Worklist - Administration).
Somewhere on the admin page you'll find 'Click to Manage Item Types and View Definitions' which allows you to enter a new configuration (as changing the standard is not allowed).
Simply have a look at the existing configurations in order to get familiar with it. In the action group there is a parameter launchInNewWindow. I put it on "no" for test purposes and taa daa it works.
Nevertheless there are some drawbacks configuring this:
- The popup (after completing the task) provides a 'Close' mechanism. If you decide to click it it will close the complete browser window and the UWL will be gone. Thus you would need to answer with 'Cancel' here and manually navigate back to the UWL.
- Same is true for the 'Close' button which is part of the task execution UI. This isn't that useful anymore.
So my general recommendation would be keeping the pop-ups as it would also allow you having multiple tasks open at the same time and does not come with the beforementioned drawbacks. Nevertheless you could try it out on your own
Best regards,
Martin
edit
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE UWLConfiguration PUBLIC "-//SAP//UWL1.0//EN" "uwl_configuration.dtd">
<UWLConfiguration version="1.0">
<ItemTypes>
<ItemType connector="BPEMUWLConnector" defaultAction="launchWebDynPro" defaultView="DefaultView" executionMode="default" name="uwl.task.bpem">
<Actions>
<Action groupAction="" handler="SAPWebDynproLauncher" launchInNewWindow="no" name="launchWebDynPro" referenceBundle="launch_sap" returnToDetailViewAllowed="yes">
<Properties>
<Property name="WebDynproApplication" value="ATaskExecution"/>
<Property name="WebDynproDeployableObject" value="sap.com/tc~bpem~wdui~taskinstance"/>
<Property name="DynamicParameter" value="taskId=${item.taskId}&amp;isSubstituted=${item.isSubstituted}&amp;locale=${item.locale}&amp;timezone=${item.timeZone}"/>
<Property name="System" value="${item.systemId}"/>
</Properties>
</Action>
</Actions>
</ItemType>
</ItemTypes>
</UWLConfiguration>

Similar Messages

  • Launch Finder Without Opening a New Window

    Hello,
    I'm making an application that resizes the icons on the desktop, and I would like to know if it's possible to launch the the Finder without it automatically opening a new Finder window.
    My, Applescripts look something like this right now..
    on «event coVScliI» theObject
    (do shell script "defaults write com.apple.finder DesktopViewOptions -dict IconSize -integer 70")
    (do shell script "killall Finder")
    tell application "Finder"
    activate
    end tell
    end «event coVScliI»
    The reason for my killing the Finder in the first place is because it needs to be restarted for the changes to take affect.

    Hi,
    If you don't mind using [GUI Scripting|http://www.macosxautomation.com/applescript/uiscripting/index.html], then the following script should relaunch the Finder without opening any new window (at least it does on Mac OS X 10.6.2) :
    tell application "Finder" to activate
    tell application "System Events"
    key code 53 using {option down, command down} -- ⌥⌘⎋
    click (row 1 of table 1 of scroll area 1 of window 1 of process "loginwindow" whose value of text field 1 is "Finder")
    keystroke return
    keystroke return
    keystroke "w" using command down -- ⌘W
    end tell
    (If the script doesn't work properly on your computer, first try adding a “delay” statement before the problematic line of code, for example “delay 0.2”.)

  • How can I open my email without opening a new window with ad?

    When I open Firefoxand the first email I try to open, a new window opens with an ad. I have tried eliminating the same by deleting the cookie pertaining to the address in the window but to no avail. The address in thar window is: http://nym1.ib.adnxs.com/pop?enc=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAPA_AAAAAAAAAAAAAAAAAAAAAOEJxSjX1mgkTBUzhWf4bTmx69VQAAAAAPRnDQAdAgAAHQIAAAIAAAD4yUMAlEECAAAAAABVU0QAVVNEAOcD5wM_HgAAkloAAgQCAQUAAIQAKRUPAQAAAAA.&cnd=!3Bkj8QiP2zEQ-JOPAhgAIJSDCTAEOL-8CEAESJ0EUPTPNVgAYLQCaABwAHgAgAEAiAEAkAEBmAEBoAECqAEAsAEAuQEAAAAAAAAAAMEBAAAAAAAAAADJAYIVYAp8g_A_2QEAAAAAAADwP-ABAA..&udj=uf%28%27a%27%2C+45349%2C+1356196785%29%3Buf%28%27r%27%2C+4442616%2C+1356196785%29%3Bppv%2829846%2C+%272623583002533628385%27%2C+1356196785%2C+1356239985%2C+814479%2C+147860%2C+0%2C+4%2C+10368000%29%3B&ccd=!LAW0LwiP2zEQ-JOPAhiUgwkgBA..&vpid=45&creative_click=http%3A%2F%2Ffinancereports247.com%2F2%2F&referrer=http%3A%2F%2Fus.mg6.mail.yahoo.com%2Fneo%2Flaunch%3F.rand%3D65g3ng480fvtm&dlo=1
    Hope you can fix this or i will start using other browser.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try some of the following programs to scan for malware:
    * [http://www.malwarebytes.org/mbam.php MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://windows.microsoft.com/MSE Microsoft Security Essentials] (A good permanent anti-virus if you don't already have one)
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Can you prevent Firefox from EVER opening a new window without approval?

    Many websites open a new advertising window when you click ANYWHERE on the webpage. On occasion they are so ill-behaved that they effectively hijack your browser, not allowing you to close the window or navigate away, and rather than risk getting a virus I usually kill Firefox from the task manager... not exactly an ideal way to shut down!
    Is there any way to get Firefox to ask my permission before opening a new window, or ideally let me add websites to a whitelist so they are allowed to open new windows, or less ideally let me add websites to a blacklist so they are NEVER allowed to open new windows?
    I am well aware that this is "normal" behavior and unfortunately falls outside of the controls that prevent pop-ups, because in some cases you DO want to allow a website to open a new window, but in my experience this is the exception and not the rule so forcing me to approve the new window would be nice, but as I said being able to whitelist approved sites would be ideal.

    Thanks, dmcritchie! On your advice I have been using ADP for a couple of weeks, and I think that took care of my problem!

  • How to properly close task flow opened in new window?

    Have a question on the best practice to properly close a task flow when it has been opened in a new window.
    We are opening multiple bounded task flows concurrently in new windows but want to make sure the task flows are properly cleaned up. Scenario is that of an email in-box where the user can open multiple messages concurrently. Want to have the "Close" button that closes the window and properly exits the bounded task flow.
    thanks,
    Rodger...

    Hi Frank
    I'm hoping the after listener will fire (haven't tested it yet)
    What I would like to do is to create a method in the application module that does (I'm typing this from memory so there might be some typos):
    procedure void cleanTransaction() {
        if this.getDBTransaction().isDirty() {
          this.getDBTransaction().rollback()
    }then expose the method in the application module client implementation.
    Then in a pageFlowScope bean method find the application module and call the cleanTransaction() method.
    The bean method could then be hooked up to the after listenr.
    Would this work, and how do I find the application module ?
    Also I not sure if it is the application module hanlding the transaction or the data frame.
    Regards
    Paul

  • How can you get CMD + L to open a new window, when all windows are closed?

    In Firefox 28 and earlier, you could hit Apple + L (CMD + L) when no FF windows were open, and it would pull up a blank page with the cursor blinking in the address bar.
    After installing FF 29, when you hit CMD + L (with no windows open) it just plays the system alert sound and does nothing.
    I want to be able to hit CMD + TAB to gain control of an idle Firefox, and then be able to hit CMD + L to gain control of a BLANK address bar.
    Every other version of Firefox I've ever used did this, so am I missing something here? Any ideas?
    Note: I realize that you can hit CMD + N to launch a new window and then CMD + L to select the text within the address bar. I'm not looking to re-train my habits within Firefox, but simply want that feature like it was in the previous 28 versions.

    Well, after an entire week without a word from Mozilla, I officially give up.
    I understand that new software will have bugs when it is released. I understand that the bugs are fixed in the order of greatest impact/priority. I also understand that my issue is not a bug, rather a feature that was inexplicably removed.
    A couple of things I cannot understand —
    Why would Mozilla remove '''ANY''' features from their software when they are touting this as the most customizable web browser ever? That is obviously not logical and will be to their detriment in the long run.
    Furthermore, if a person did get on here just to complain about this update, they were immediately met with a canned response from a moderator, which offered a few options to make Firefox '''LOOK''' like the previous version. That speaks volumes about this update and the developers' confidence in it. The person who gets on here with a legitimate problem asking why a feature was removed — they get '''NO''' response from a moderator. Again, this speaks volumes. I am not even asking for an immediate solution to this problem, just the acknowledgement that there is a problem. On top of that, especially in the development of software, the old adage particularly rings its truest — ''If it ain't broke, don't fix it.''
    Lastly, I think we can all agree that Firefox 29 is a blatant ripoff of Google Chrome. If I wanted Google Chrome, that is exactly what I would have downloaded. That pains me not only as a devout Firefox user for nearly 10 years, but especially as I have donated over $200 to the Mozilla Foundation in that time. In other words, I have financially supported the development of a software that has become absolutely indifferent to its users' needs, and moreover, they have now resorted to copying off of their neighbor.
    I have since rolled back versions — all the way to Netscape Navigator 9 — which seems to have just about as much functionality as the bungled mess that is Firefox 29.
    I genuinely appreciate all of the time and effort that goes in to creating open-source software, and I financially support the projects that I feel adhere to the open-source philosophy. That said, Mozilla.org seems to be straying away from this philosophy, to the point where, for me, it is simply time for a change.
    Thanks for the memories, Firefox!

  • The only thing i can get is facebook,If i open a new window it sais connection was reset and to check my proxy ????HELP

    want to find out how to reset this proxy thing plz

    Please update to the current Firefox 27.0.1 release.
    *Help > About Firefox
    *https://support.mozilla.org/kb/update-firefox-latest-version.
    *https://support.mozilla.org/kb/Updating+Firefox
    The Firefox version that you currently run is no longer supported with security updates.
    *It is important to update Firefox and add-ons to the latest version to get all security fixes.
    You can check the connection settings here:
    *Tools > Options > Advanced > Network : Connection > Settings
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • Universal worklist task open in new window

    Hello
    We have an ESS implementation in portal.
    In worklist when user clicks on any line item, a task gets triggered. Now this task gets opened in new window which is a standard functionality.
    Below is XML which retrieves view for this clicked task,
    <ItemType name="uwl.task.webflow.TS90000018.SAP_R3" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="SAP_R3" externalType="TS90000018" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="AllMyTrips"/>
                <Property name="WebDynproDeployableObject" value="sap.com/ess~tra"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="wi_id=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    But in new window we are not able to see any portal navigation available.
    Is there any way that I can get this navigation panel in new window as well.

    You can call also pages using the IViewLauncher.
            <Action name="launchWebDynPro" groupAction="" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="iview" value="ROLES://portal_content/Fresenius/kabi_nl/Iviews/ESS/Zeitmanagement/com.fresenius.Abwesenheitsmitteilung"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="wi_id=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
    But why would you want to have the navigation too in a new window ?
    That would confuse me as a user to have 2 navigations in 2 windows.
    The problem with UWL in general (using a popup) is that after you are finished in the popup,
    the task is still there. I get lots of complaints; waiting for EhP3 or 7.3. There should be a instant refresh UWL feature.....
    Regards,
    Kai

  • Can I set Safari to open a new window when I click on it in the dock?

    is there a way to set my safari to open a new window when i click on it in the dock i surf multiple websites at once and i dont like how i have to right clik and scroll up to pick open a new window. can i set it to just open a new window instead of opening the page that already opened

    yeah, instead of using multiple windows, you can use multiple tabs inside one window. That way, you can browse multiple websites at once without having to flick back and forth between multiple windows.
    To open tabs of the websites you want to browse, just right-hand click on whatever website you want to visit (For example a site from your bookmarks or a site from a Google search result) and select 'open link in tab'.

  • What code to navigate from page without opening a new page?

    Hello, I have a flash button embedded into a css/HTML page that I want to use to navigate into a new page without opening a new window. Here's the code I'm using in the SWF which I got from the adobe tv tutorial:
    http://tv.adobe.com/watch/adc-presents/buttons-and-interactivity-in-flash-cs4
    Here is the test page that I have embedded the flash button in: http://ianmartinphotography.com/testers/index-flash.html
    The flash button is the "about Ian" button on the upper left. I want the navigation to be like the traditional rollovers on the page. (I'm working my way up to having the embedded flash button fade into place, that's why I'm using flash.)
    // 1. Event handler function
    function clickHandler (Event:MouseEvent): void
       trace("CLICK!");
       navigateToURL(new URLRequest("http://ianmartinphotography.com/about.html"));
    // 2. Assign listener 
    about_btn.addEventListener(MouseEvent.CLICK, clickHandler);
    I just want to go to a different page, not open a new window. How should I change this code to do that? Thanks!
    -Ian

    If you look up the navigate ToURL function in the help documents it lists all of the window options available.  For your case you can use:
    navigateToURL(new URLRequest("http://ianmartinphotography.com/about.html"), "_self");

  • Link in Flash keeps opening in new window

    I have l a flash file in my pages that links to other pages within my web site but when clicked they automatically open in another window. How can I link them without opening a new window as would happen with a normal web page  link?
    Here is my current Action Script code:
    index.addEventListener(MouseEvent.CLICK,indexbuttondown);
    function indexbuttondown(event:MouseEvent):void {
    var bbcURL:URLRequest = new URLRequest("index.html");
    navigateToURL(bbcURL);
    Thanks for your help
    Nick

    Try changing the one line to be:
    navigateToURL(bbcURL, "_self");
    And test on a server.  Testing locally isn't reliable when browser window commands are involved.

  • How to open a new window from the login window?

    hi,
    can someone tell me how to open a new window from an existing window, here by window i mean frame. The case is i hv two java files - oracle.java and FDoptions.java. The first frame is in the Login.java. The oracle.java file has a button "Login", when it is clicked, i want to open the next frame which is in the file FDoptions.java. Can some one help me with this? I m giving the code below -
    oracle.java
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JPasswordField;
    import javax.swing.JTextField;
    * The application's main frame.
    public class oracle {
        private JFrame frame;
        private JPanel logInPanel;
        private JButton clearButton;
        private JButton logInButton;
        private JButton newuserButton;
        private JButton forgotpasswordButton;
        private JTextField userNameTextField;
        private JPasswordField passwordTextField;
        public oracle() {
            initComponents();
        private final void initComponents() {
            JLabel userNameLabel = new JLabel("User name: ");
            JLabel passwordLabel = new JLabel("Password: ");
            userNameTextField = new JTextField();
            passwordTextField = new JPasswordField();
            JPanel userInputPanel = new JPanel(new GridLayout(2, 2, 5, 5));
            userInputPanel.setBorder(BorderFactory.createEmptyBorder(10, 20, 10, 20));
            userInputPanel.add(userNameLabel);
            userInputPanel.add(userNameTextField);
            userInputPanel.add(passwordLabel);
            userInputPanel.add(passwordTextField);
            logInButton = new JButton(new LogInAction());
            clearButton = new JButton(new ClearAction());
            newuserButton = new JButton(new NewUserAction());
            forgotpasswordButton = new JButton(new ForgotPassword());
            JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            JPanel buttonPanel1 = new JPanel(new FlowLayout(FlowLayout.RIGHT));
            buttonPanel.add(logInButton);
            buttonPanel.add(clearButton);
            buttonPanel1.add(newuserButton);
            buttonPanel1.add(forgotpasswordButton);
            logInPanel = new JPanel(new BorderLayout());
            logInPanel.add(userInputPanel, BorderLayout.NORTH);
            logInPanel.add(buttonPanel, BorderLayout.CENTER);
            logInPanel.add(buttonPanel1,BorderLayout.SOUTH);
            frame = new JFrame("FD Tracker");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(500, 500);
            frame.setContentPane(logInPanel);
            frame.pack();
            frame.setVisible(true);
        private void performLogIn() {
            // Log in the user
            System.out.println("Username: " + userNameTextField.getText());
            char[] password = passwordTextField.getPassword();
            System.out.print("Password: ");
            for(char c : password) {
                System.out.print(c);
            System.out.println();
        private void performClear() {
            // Clear the panel
            System.out.println("Clearing the panel");
            userNameTextField.setText("");
            passwordTextField.setText("");
        private final class LogInAction extends AbstractAction {
            public LogInAction() {
                super("Log in");
            @Override
            public void actionPerformed(ActionEvent e) {
                performLogIn();
        private final class ClearAction extends AbstractAction {
            public ClearAction() {
                super("Clear");
            @Override
            public void actionPerformed(ActionEvent e) {
                performClear();
        private final class NewUserAction extends AbstractAction{
             public NewUserAction(){
                 super("New User");
             @Override
             public void actionPerformed(ActionEvent e){
                 JFrame newuser = new JFrame("NewUser");
        private final class ForgotPassword extends AbstractAction{
            public ForgotPassword(){
                super("Forgot Password");
            @Override
            public void actionPerformed(ActionEvent e){
                JFrame forgotpassword = new JFrame("Forgot Password");
        public static void main(String args[]) {
            new oracle();
         FDoptions.java
    import java.awt.FlowLayout;
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class Fdoptions{
        private JFrame fdoptions;
        private JPanel fdoptpanel;
        private JButton enterfdbutton;
        private JButton viewfdbutton;
        public Fdoptions() {
            initComponents();
        private final void initComponents(){
            fdoptpanel = new JPanel(new BorderLayout());
            fdoptpanel.setBorder(BorderFactory.createEmptyBorder(80,50,80,50));
            enterfdbutton = new JButton(new EnterFDAction());
            viewfdbutton = new JButton(new ViewFDAction());
           JPanel enterbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
           JPanel viewbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            enterbuttonpanel.add(enterfdbutton);
            viewbuttonpanel.add(viewfdbutton);
            fdoptpanel.add(enterbuttonpanel,BorderLayout.NORTH);
            fdoptpanel.add(viewbuttonpanel,BorderLayout.SOUTH);
            fdoptions = new JFrame("FD Options");
            fdoptions.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            fdoptions.setSize(1000,1000);
            fdoptions.setContentPane(fdoptpanel);
            fdoptions.pack();
            fdoptions.setVisible(true);
        private void performEnter(){
        private void performView(){
        private final class EnterFDAction extends AbstractAction{
            public EnterFDAction(){
                super("Enter new FD");
            public void actionPerformed(ActionEvent e){
                performEnter();
        private final class ViewFDAction extends AbstractAction{
            public ViewFDAction(){
                super("View an existing FD");
            public void actionPerformed(ActionEvent e){
                performView();
        public static void main(String args[]){
            new Fdoptions();
    }

    nice day,
    these lines..., despite the fact that this example is about something else, shows you two ways
    1/ modal JDialog
    2/ two JFrame
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    * Parent Modal Dialog. When in modal mode, this dialog
    * will block inputs to the "parent Window" but will
    * allow events to other components
    * @see javax.swing.JDialog
    public class PMDialog extends JDialog {
        private static final long serialVersionUID = 1L;
        protected boolean modal = false;
        private WindowAdapter parentWindowListener;
        private Window owner;
        private JFrame blockedFrame = new JFrame("No blocked frame");
        private JFrame noBlockedFrame = new JFrame("Blocked Frame");
        public PMDialog() {
            noBlockedFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            noBlockedFrame.getContentPane().add(new JButton(new AbstractAction("Test button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    System.out.println("Non blocked button pushed");
                    blockedFrame.setVisible(true);
                    noBlockedFrame.setVisible(false);
            noBlockedFrame.setSize(200, 200);
            noBlockedFrame.setVisible(true);
            blockedFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
            blockedFrame.getContentPane().add(new JButton(new AbstractAction("Test Button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    final PMDialog pmd = new PMDialog(blockedFrame, "Partial Modal Dialog", true);
                    pmd.setSize(200, 100);
                    pmd.setLocationRelativeTo(blockedFrame);
                    pmd.getContentPane().add(new JButton(new AbstractAction("Test button") {
                        private static final long serialVersionUID = 1L;
                        @Override
                        public void actionPerformed(ActionEvent evt) {
                            System.out.println("Blocked button pushed");
                            pmd.setVisible(false);
                            blockedFrame.setVisible(false);
                            noBlockedFrame.setVisible(true);
                    pmd.setVisible(true);
                    System.out.println("Returned from Dialog");
            blockedFrame.setSize(200, 200);
            blockedFrame.setLocation(300, 0);
            blockedFrame.setVisible(false);
        public PMDialog(Dialog parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        public PMDialog(Frame parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        private void initDialog(Window parent, String title, boolean isModal) {
            owner = parent;
            modal = isModal;
            parentWindowListener = new WindowAdapter() {
                @Override
                public void windowActivated(WindowEvent e) {
                    if (isVisible()) {
                        System.out.println("Dialog.getFocusBack()");
                        getFocusBack();
        private void getFocusBack() {
            Toolkit.getDefaultToolkit().beep();
            super.setVisible(false);
            super.pack();
            super.setLocationRelativeTo(owner);
            super.setVisible(true);
            //super.toFront();
        @Override
        public void dispose() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.dispose();
        @Override
        @SuppressWarnings("deprecation")
        public void hide() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.hide();
        @Override
        public void setVisible(boolean visible) {
            boolean blockParent = (visible && modal);
            owner.setEnabled(!blockParent);
            owner.setFocusableWindowState(!blockParent);
            super.setVisible(visible);
            if (blockParent) {
                System.out.println("Adding listener to parent ...");
                owner.addWindowListener(parentWindowListener);
                try {
                    if (SwingUtilities.isEventDispatchThread()) {
                        System.out.println("EventDispatchThread");
                        EventQueue theQueue = getToolkit().getSystemEventQueue();
                        while (isVisible()) {
                            AWTEvent event = theQueue.getNextEvent();
                            Object src = event.getSource();
                            if (event instanceof ActiveEvent) {
                                ((ActiveEvent) event).dispatch();
                            } else if (src instanceof Component) {
                                ((Component) src).dispatchEvent(event);
                    } else {
                        System.out.println("OUTSIDE EventDispatchThread");
                        synchronized (getTreeLock()) {
                            while (isVisible()) {
                                try {
                                    getTreeLock().wait();
                                } catch (InterruptedException e) {
                                    break;
                } catch (Exception ex) {
                    ex.printStackTrace();
                    System.out.println("Error from EDT ... : " + ex);
            } else {
                System.out.println("Removing listener from parent ...");
                owner.removeWindowListener(parentWindowListener);
                owner.setEnabled(true);
                owner.setFocusableWindowState(true);
        @Override
        public void setModal(boolean modal) {
            this.modal = modal;
        public static void main(String args[]) {
            new PMDialog();
    }

  • URL Iview is not open a new Window in FireFox

    Hi Guys,
    After we upgrade our portal to NW 7.0 EHp2 SP6 , we can not open the URL Iviews in Firefox.
    It looks like can't force the iview to open a new window and instead it open a new tab , Any suggestion?
    Thanks,

    Hi Mar,
    To me, the PAM mentioned Firefox 3.5 is not recommended for NW 7.0 Ehp2 - Firefox 3.6 is supported for NW 7.0 Ehp2 starting with SPS6.
    Anyway, if it works in IE & Safari, I don't think it has anything to do with the portal; it's something in Firefox settings.  As mentioned before, did you check the option to open new links in new windows? Also, please checkSAP Note 1296463 and its related notes about browsers to see if there's something relevant to your case.
    Regards,
    Dao

  • I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete going to windows task manager and process, also i can't open a new window, it won't allow it. please can you help me

    I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete firefox going to windows task manager and process, also, i can't open a new window, it won't allow it. please help me, everything works on IE, Google Chrome and Safari, everything went wrong after the update

    Hey Elaine07!
    I have an article here that can help you with that issue. This article will help you make sure you have uninstalled iTunes correctly and help you troubleshoot the launch issues you are seeing:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • I can't open a new window in Firefox 4 on my mac. Was working great. I installed new mac firmware and restarted, probably without closing Firefox properly. Now window won't open.

    Hi:
    As noted above, Firefox won't open a new window. I restarted machine without closing Firefox. Now, I get the Firefox menu bar but it won't open a window. I'm using mac, with OS X 10.6

    Firefox doesn't install new versions of plugins, but Flash may update itself automatically.<br />
    You are still one version behind on Flash, current is Flash 10.1 r85<br />
    If the Flash player didn't update properly then you need to download the full version and run the installer as Administrator (right-click: Run as ...)
    Flash Global Notifications Settings Panel:<br />
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager05.html
    You are more versions behind on Java updates with having Java 6 U11, current is 6 U22.
    *Java Plug-in 1.6.0_11 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

Maybe you are looking for

  • "Toggle Smart Quotes" doesn't work anymore

    I'm not sure if this stopped working after I upgraded to Snow Leopard (from Leopard) or if it's been a CS4 issue all along, but hitting Cmd+Opt+Shift+' doesn't toggle smart quotes functionality anymore. This is handy for the odd occasion when I actua

  • How to capture the user activities in Project Server 2010

    Hi I want  to capture the user activities from Project Server 2010 like when a user has saved and published etc. Is there any possibility that we can get the user activities data from sql server. Please throw some light on the same. Thanks Geeth If y

  • Need help on TCP communiction architecture. Patterns, books?

    Hi I am currently developing a Java ME application that uses TCP for communication. Unfortunately the binary protocol I have to implement on the client is half-duplex whereas TCP is full-duplex. So I had to artificially limit and synchronize transmis

  • Adobe PDF Pack vs Adobe Export PDF?

    Is Adobe PDF Pack THE SAME AS Adobe Export PDF? Is the PDF Pack needed for Adobe Connect?

  • MS SQL Server 2000 connectivity problems

    Hello everyone, I'm having problems connecting my application to MS SQL Server 2000. I am making a desktop application that is going to read and update a database I have created in MS SQL Server 2000. The problem is I cannot connect to the database f