How to Pop up a New Window?

I have a JList in my java application. It stores the path of some files or directories. Whenever it's a directory, I would want to explore its content when I double click the JList. But I have no idea how to bring up a new explorer-like window in Java. I have tried to use Runtime and Process...but it didnt work...... So how should I do that? Desperate.....please help.....Thanks~

Thanks soooooooooooooooooooooooooooooooooooooooo much!!!!!!!!!!!!!!!!!!!!!!!!! This is EXACTLY what I want to do!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! wuwuwuwuwuuwuwuw....................want to cry~~~~~~~~~~~~~~~~~thanks thanks~~~~~~~~~~~~~~~~~~~~~``

Similar Messages

  • How to Navigate to a New window

    Hello am new to obiee can anyone please tell me how to navigate to a new window if i click on a report column. There is no Dill in place option set to it.

    Need some more information about how you are navigating from the main report.
    If you are using GoURL to bring up a report by specifying a hyperlink on a columm in the main report, then you should be able to use target="_blank" to open a report in a new window.
    search the forum or check this out:
    Re: How to add return link to report??
    Re: how can we pass the master report value in to detail  report
    Hope this helps!

  • How could I popup a new window in ICWC

    Hi experts,
    I am new to ICWC development. And now I need help.
    My problem is how could I popup a new window by clicking a link on the ICWC's view.
    And the popup window will show view belonging to another viewset.
    Because normally in ICWC, we use view_manager->navigate to do the navigation from one view to another. But this kind of navigation are in the same window. What I need is open a new IE window, and show another view.
    Is it possible? If it is, how?
    Thanks and Best Regards,
    Marco

    Hi Marco,
    I created a javascript as shown below in the view
    <script language="javascript">
    function ZShowF4KeyAndValueHelp(AccountID)
    //  content = escape(InputField.value);
      URL  = window.location.protocol +"//" + window.location.host;
      URL += "/sap/bc/bsp/sap/ZCRM_IC/ZBPPopup.do";
      if(AccountID!=""&&AccountID!=null)
      URL = "?AccountId="AccountID;
      var left = ((screen.width  / 2) - 170);
      var top = ((screen.height / 2) - 210);
      attr = "resizable=yes,height=420,width=350,dependent=yes,status=yes,top=100,left=100";
      newDialog = window.open(URL,"F4Help",attr);
    </script>
    and then called the same where it is required
            <crmic:button id            = "Confirm"
                      onClientClick = "ZShowF4KeyAndValueHelp(<%= lv_accountno %>)"
                          onClick       = "confirm"
                          disabled      = "<%= disable_confirm %>"
                          priority      = "1"
                          text          = "<%= otr(crm_ic_appl/bupaConfirm) %>" />
    Regards
    G.Raja

  • Just installed Malwarebyte and i am still getting unwanted pop ups and new windows.

    Just installed Malwarebyte and i am still getting unwanted pop ups and new windows.

    You can supplement your Malwarebytes Anti-Malware scan with some other tools Firefox users have found effective. See: [[Troubleshoot Firefox issues caused by malware]].
    But it also makes sense to check a couple of things manually.
    (1) Extensions installed in Firefox
    Open the Add-ons page using either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then take a careful look and disable everything you either don't recognize or don't use regularly. If Firefox prompts you to restart to make the change effective, you can do that as the last step after completing your review of the list.
    (2) Windows Control Panel, Uninstall a Program
    Click the "Installed on" column heading to bring the most recent infections, I mean, additions, to the top. This is useful in revealing bundles that may have snuck unwanted software onto your PC. Remove everything you don't remember choosing intentionally.
    Any improvement?

  • How do you load a URL in .exe flash file without popping up in new window.

    Hi
    I have developed a full screen .exe flash file in actionscript 2. It  controls physical lights (e.g. turn on and off) by simply calling a URL for each  action.  However, I don't want the called URL's to open in  front of the interface. Is there a way to call a hidden URL in flash?  Any advice would be much appreciated.
    Thanks

    Hi Daz
    Cheers for getting back to me. Each light is controlled by calling a URL e.g.getURL("http://modelpc/LightControl/controllights.aspx?id=17&status=on");
    Currently the code looks like this:
    on (release) {
        getURL("http://modelpc/LightControl/controllights.aspx?id=1&status=on");
    The action is working when I use get(), but the URL pops up in a new window. I want to prevent this from happening. I am looking into using send (LoadVars.send method) at the moment...would this work? I have little experience with actionscript and its prooving to be a challenge.
    Thanks

  • How to pop up a new browser window to point to an external site

    Please help. we want to popup an new browser window when click on a button and the new window is pointing to an external web site.
    I can make it work to point to an external site in the same window. But that is not we want to.
    I do see some old posting about this but it does not work for us.
    Please anyone knows the detail of the steps and code, probably including any environment setting/configuration if required, response to this thread.
    thanks a lot in advance!
    ggu

    ggu,
    This is a gimmicky solution but it works and is reusable. Copy your button template and rename it POP_UP_BUTTON. Get rid of the #LINK# substitution string and replace it with:
    window.open('#BUTTON_ATTRIBUTES#')Put the URL you want to go to in the attributes section of the button. Put something like "TO_<DOMAIN>" in the button request so it is not totally gibberish and irrelevant. This would be much nicer if the apex engine did not include the "apex.submit()" code inside of the #LINK# substitution string. Or if they provided a second substitution string just for the URL specified.
    Here is the old code:
    <button value="#LABEL#" onclick="#LINK#" class="button-default" type="button">
      <span>#LABEL#</span>
    </button>here is the new code:
    <button value="#LABEL#" onclick="window.open('#BUTTON_ATTRIBUTES#')" class="button-default" type="button">
      <span>#LABEL#</span>
    </button>Cheers,
    Tyson Jouglet
    Edited by: Tyson Jouglet on Jun 17, 2011 8:50 AM

  • How to open page in new window while handling event on link.

    Hi all
    I have a requirement where page should be opened in new window when I click on link.My item style is 'link'.Despite of mentioning target frame _blank, I m not able to open it in new window.I m handling event by setting Action Type as fireAction.I hope this might be the reason because of that this happened. Can somebody suggest some solution so that I can open it in new window.
    Thanks,
    Bhupendra

    Hi ,
    though i am not able to answer, i can get some answer for my question.
    How the link item is handled thru the ActionType and event in the Client Action..?
    The reason for this question is that we are trying to extend the customer search page in AR - EBSR12. there the search result page has the Account Name as a link and the Action event says viewAccountName and the action type says firePartialAction. I am trying to understand this so that i can add more parameters to the link so that i can use them in the target page of the link..
    Any help is appreciated..
    Thanks
    Chidam

  • For a SharePoint list LVWP - how to open links in new window? (Without SPD - Without access to server)

    Hi there,
    I canNOT use SharePoint Designer nor do I have access to server to change any 14 hive files.
    I have a SharePoint 2010 List with a field of type Hyperlink. I need these links to open in New Window. Only links with-in this LVWP should open in new window (and not links on Quicklaunch or top nav).
    Any clues how to achieve this please? JS is okay.
    Thanks.

    Hello,
    The good news is that you're not the first to have those requirements!
    Here's the JavaScript:
    <script>
    var allLinks = document.querySelectorAll("table.ms-listviewtable tr td a");
    for(var i=0; i<allLinks.length; i++){
    if(allLinks[i].onclick == null){
    var targetUrl = allLinks[i].href;
    targetUrl = targetUrl.indexOf("?") > -1 ? targetUrl + "&isDlg=1" : targetUrl + "?isDlg=1";
    allLinks[i].href= "javascript:var options = {width:500, height:300, url:'"+targetUrl+"'}; SP.UI.ModalDialog.commonModalDialogOpen('"+targetUrl+"', options);";
    </script>
    This script can be saved to a text file and uploaded to a document library. You can then add a content editor web part below your list view web part (so that it doesn't execute until after the list view has loaded) and set the "content link"
    property of the web part to be the path to the uploaded text file.
    The solution was originally posted here:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8ca275df-1d9c-4d0f-a624-c0531fda069a/how-to-open-model-dialog-onclick-of-list-item-hyperlink-column?forum=sharepointdevelopmentprevious

  • How stop FF31 from opening new window? I want to open all links in new tab at top of page.

    I think the following, quote below, from the help page is my problem.
    I have this one website I use that when I click on a link within the website it is opening a new window with the tab at the bottom. Also, when this happens, I am losing the orange FireFox rectangle, bookmarks and navigation options. How can I set FF31 so that the link opens in a new tab and I keep all my options? I am using Classic Theme Restorer 1.2.3. I also notice that in the new window I lose the ability to use some of the addons.
    I have two laptops and both are running FF31 and W7. One of them is working perfectly and the other is having this problem. As far as I can tell they are both set up the same. The only difference is that when I upgraded to FF31 they both had difference older versions of FireFox. I also read in the help forum that maybe I need to go back to FireFox 28 to accomplish what I am trying to accomplish.
    I noticed that when I go under about:config that the version of FF that is not working has fewer available options versus the version that is working. An example would be that the working version has "browser.tabs.onTop" where on the other laptop this is missing.
    >>>Open new windows in a new tab instead: This option controls whether links from other applications or from web pages which request to open them in new windows are opened in a new window or a new tab in the most recent window.
    Note: If you have chosen to open pages in new tabs, Firefox will ignore this option and will open a new window from a link if the page author specified that the new window should have a specific size, because some pages can only be displayed correctly at a specific size.<<<
    Thank you in advance for any help,
    yeto

    You can override how links are opened via the browser.link.open_newwindow.override pref.
    *http://kb.mozillazine.org/browser.link.open_newwindow
    *1: current tab; 2:new window; 3:new tab;
    Use this for links opened via JavaScript.
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction
    See also:
    *http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features

  • HoW DO YOU SETUP A NEW wINDOW 7 64 BIT PC FOR ITUNES AND MOVE EVERYTHING OVER FROM AN OLD PC

    How do you setup a new windox 7 64 bit pc for itunes (which documetns folder does the file need placed in and then move everything over from your old pc (which is windows xp)?

    I am pretty disappointed in the lack of documentation.
    This is the Apple Support page for Boot Camp:
    http://www.apple.com/support/bootcamp/
    No mention anywhere of Lion, of 4.0/4.01
    In the past, 10.6.6+ was suppose to - and sometimes did - provide for a download drivers from within Boot Camp Assistant program, in order to save them to flash or such (that should be about 1GB, too large for CD). Some macs req'd a USB-DVD or other driver that was needed pre-install of Winidows
    You don't install Apple drivers until after Windows is installed otherwise,
    It is possible for me, with a tower, to run w/o needing any drivers from Apple. But with laptops, mini, you do need some drivers from Apple for graphics, internet, wireless, SMC support.
    And right now, loading any Apple support Tech Note articles is very very slow.
    People keep asking why Apple can't post 3.0 or 4.0 like they do the updates. Only logic is to force t he download from inside OS X or from an OS X DVD. Otherwise would be here, and avoid all the trouble. they aren't of use on a PC, and any PC motherboard vendor does post their support software for download.
    Apple Support Downloads #bootcamp

  • How do I open a new window in Adobe Acrobat using the plugin sdk

    I would like to create a new menu item that when clicked it will open a new window (e.g. winform). What I'd like to do is pull data from a server and interact with the user in that window.  Basically show the user a list of PDF files to pull from the server.  Once the user is done selecting which file to pull to have the file pulled from the server into the local drive and have it opened in Adobe Acrobat.  The problem I'm having is that I don't know how to invoke a winform or something like it to place my lists of files and UI controls. I've looked at the samples in the SDK and don't see anything that deals with this particular issue.  I'm a newbie so I'm sure I'm missing something here.  I tried creating a new WinForm in a sample example and ran into errors and the form is not functioning.  Any help is much appreciated.

    Thank you Dan_Korn,
    This suggestion is very helpful.  I like the idea of creating the new functionality in the language/environment of my choice and simply call it from the plugin.  The only issue I have is that when I start the other gui app from within the plugin I don't know how to communicate with it.  I would like to do these things with it:
    1. For the spawned off app to be able to tell Adobe Acrobat to open a file in a certain location.
    2. For the spawned off app to exit if Adobe Acrobat is closed.
    3. Also if the spawned off app closes for the handles to it to be desposed of and cleaned up to avoid leaks.
    Any ideas on the easiest approach to the above behaviors?
    Here's  my code so far in the plugin:
    void StartApp1()
              STARTUPINFO info={sizeof(info)};
              PROCESS_INFORMATION processInfo;
              if (CreateProcess(NULL , "myexe.exe", NULL, NULL, TRUE, 0, NULL, NULL, &info, &processInfo))
                        ::WaitForSingleObject(processInfo.hProcess, 0);
                        CloseHandle(processInfo.hProcess);
                        CloseHandle(processInfo.hThread);
              else {
                             AVAlertNote("Couldn't luanch the exe");

  • How do I change "open new window" tab behaviour?

    I used to be a Firefox user ages ago, and then switched to Chrome for awhile. I'm coming back now, and I'm noticing some strangeness with tabs and "new windows". Can't figure out how to get around it.
    My "Home Page" is set up to open three tabs. One is MSN, the second is my email, and the third is Google Calendar. That works great, except..
    1) If I pick "New Window" (Ctrl-N), it re-opens those same three tabs. When I open a new Window, I don't want to open those three tabs again. They're already open in the primary window. How do I stop Firefox from doing that? I can't figure out how to make that happen.
    2) The other is about the "Home" button. If I push the home button it loads all three of those tabs. In Chrome there's a separate setting for the home button vs the startup tabs. Is there any way to replicate this? I occasionally hit the home button just to load MSN. I don't want all three of those tabs when I hit the home button. Any way around this?
    Danke.

    That is not possible.
    A new window opens the home page(s), so you would have to set the home page to about:blank or create a bookmark with the location set to about:blank and hold the Shift key and left-click to open this page in a new window.
    You can add those three pages to the command line of the Firefox desktop shortcut to open these page when you start Firefox.
    *https://developer.mozilla.org/Command_Line_Options

  • How can I open a new window based upon input in an existing window

    Hi,
       I'm pretty new to LabVIEW and I've run into a slight problem that I having trouble finding information about.  My LabVIEW application will present a user with several configuration options.  Depending upon the options the user chooses, a new window/panel will need to appear with an entirely different set of options.  Is this possible?  If so, how?
    Thanks,
    Al

    Hi Al,
    you can call subvis in a case structure ("when button is true then call subvi"). In the subvi's properties you have to set "open front panel when called" and "close afterwards" (window appearance settings).
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do i open a new window? serial communication problem

    I am trying to make a serial communication interface, with changeable settings,
    but i wanted it to be that the settings to be openend in a new window, how am i able to do that.
    I tried to make a separate subvi, but unable to do that, here is my explanation in images and the vi files.
    -Just a student-
    Attachments:
    LVTerm.vi ‏50 KB

    Hello Nandha,
    SubVI's can be created by selecting the part that you want in the subVI and than select "create subVI" from the "Edit" menu.
    Or cut the selected part and open a new VI and paste in the code. Then you have to connect all the controls and indicators to your connector pane. To do this right click the icon in the upper right corner and "Show connector". Select a pattern that has enough connectors, my personal favorite is the 4x4x4. Select the wire tool and select a connector and then the control or indicator you want to connect. Try to keep controls to the left and indicator to the right.
    Now you have to figure out when you want to show the settings window. Is it necessary that the communication goes on during manipulation of the settings?
    Kind regards,
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • List - Navigation Outline - how to open link in new window/tab?

    I have created Navigation Outline but would like to open links in the new window or tab.
    We are using single sign-on within our intranet therefore the links looks like that: f?p=105:1:&SESSION..
    Does anybody have any ideas how to open new window, I have tried this: target="_blank" but it doesn't work.
    Thanks in advance.
    Robert

    Where exactly are you building this link to open a new window? Are you builidng it inside the query? a column link? I'm just curious; as it would make a slight difference in syntax, or where to escape, or whether or not you need to escape or not. But anyways, you could look into the javascript:popupURL syntax.
    So if you were building a link inside a query, the syntax would look similar to:
    '<a href = "javascript:popupURL(''f?p=&flow_id.:101:&session.::&debug.::&P101_ITEM:&P99_MATCH_ITEM.'')">Link</a>'
    Those are two single quotes that start and end the ....f?p-url-part....I.e., escaped.
    But thats just an example. Hope that helps.

Maybe you are looking for

  • Automatic shutdown, freezing, the list goes on. HE

    I received my 6GB Zen Micro for Christmas of 05. Only recently (within the past few weeks) have I encountered the headphone jack problem. While that was the only problem, today everything seemed to go downhill. I am not sure if everything in the top

  • Encoding from UTF-8 encoded String to Microsoft Project default encode

    Hi Expert ... I have a problem with encoding a String from UTF-8 String in order to write a MPX (Microsoft Project) file. I used UTF-8 on my Database encoding, and I want to write a MPX file using MPXJ library, but the result is (?) character. I thin

  • DBIF_REPO_SQL_ERROR in CRMD_ORDER (CRM 2007) - ORA-03127: no new operations

    Dear Friends, I am using CRM 2007. I am facing below run time error: This problem comes frequently.... Runtime Errors:  DBIF_REPO_SQL_ERROR Transaction......... "CRMD_ORDER" Program............. "????????????????????????????????????????" Screen......

  • Regarding bdc for automatic run

    hi experts,                 i have developed a bdc for hr in which the data is uploading from the excel sheet,what my user wants that this report will run automatically at 11 pm every day so for this send me the steps for this i know i have to exceut

  • Want to unsync iphone from Outlook but keep my Contacts on my iphon, how???

    Hi All, Can someone be so kind in helping me answer my query??? I have synced my iphone to my Outlook, but now i want to remove the Outlook (Mail for Exchange) account from my iphone, but in that process it will remove all my contacts from my phone b