Open a external application in a concrete place in the screen

I need to open an external application from my swing app, but the application window should be opened in a concrete place in the screen, such as using setBounds in a JInternalFrame. Runtime methods just run the application in a new thread, but I can't place the window it the place I need.
I think some kind of external dll with jni should work, but I don't know which methods to use or even if it's a solution made in swing.
any ideas?
thanks in advance

The fact is that I need to move "any" application, because today it's some app like netmeeting but noone knows what will want tomorrow. Embbeding sounds good, can you give me more info?
And thanks a lot!

Similar Messages

  • I moved all my music from c: drive(because it was full) to an external harddrive and now itunes can't find any of my music. Is there a way to get Itunes to find music on external drive without having to place all the music back onto the c: drive? Thanks

    I moved all my music from c: drive(because it was full) to an external harddrive and now itunes can't find any of my music. Is there a way to get Itunes to find music on external drive without having to place all the music back onto the c: drive? Thanks

    Hopefully you moved the entire iTunes Media (or iTunes Music) folder to a new path on your external drive. Copy your iTunes library folder out to the root of the external drive, e.g. X:\iTunes (where X: is your external drive), then move the media folder inside it. Hold down shift as you start iTUnes and keep holding untila asked to choose or create a library. Choose the library at X:\iTunes\iTunes Library.itl. Should all be good.
    Failing that, download and run my FindTracks script and point it at the new location of your media folder.
    tt2

  • How can i open my external locked macbook pro when i have the code

    how can i open my external locked macbook pro when i have the code
    for fun i have external locked my mac, and now i dont know how to open it again :-(
    do someone know where i can write the code so it will work again?
    thankes

    www.itunes.com type that on your internet browser and download the newest version of itunes.

  • How to position the Stage at the first available place on the screen

    Im creating a Stage,
    but for any reason when I dont define x,y it shows in different places on the screen, and sometimes outside of the screen
    if I set x=0 and y=0 I have problems, because some user, like me, use the taskbar on the top of the screen,
    anybody knows how do workaround this ?
    this is the code of my Stage
    public class Game extends Stage {
        public var tick: Timeline = Timeline {
            repeatCount: Timeline.INDEFINITE
            keyFrames: [
                KeyFrame {
                    time: 0.01s
                    action: function() {
                        mainLoop();
        // main game loop
        public function mainLoop(){
            for (node in scene.content) {
                if( node instanceof Updatable){
                    (node as Updatable).update();
        public function play(){
            tick.play();
    }and this is how I'm using it
    var game: Game = Game {
        title: "Cabecudinhos, episódio 1 o ataque dos mosquitos"
        x: 0
        y: 0
        width: 800
        height: 600
        scene: Scene {
            content: [
                background
                littleBox
    function run(__ARGS__ : String[]) {
        game.play();
        soundtrack.play();
    }

    You can ask Java for that.
    You can just center the stage on screen, that's quite easy given the screen dimensions:
    import java.awt.*;
    var dim: Dimension = Toolkit.getDefaultToolkit().getScreenSize();
    println("Screen is {dim.getWidth()}x{dim.getHeight()}");I suppose it works for main screen, there is code to get the info for all screens (if several are connected).
    If you need to know the placements of the taskbar and other bars, you need to get the insets, which is a bit more convoluted.
    var ge: GraphicsEnvironment = GraphicsEnvironment.getLocalGraphicsEnvironment();
    var gsl: GraphicsDevice[] = ge.getScreenDevices();
    var gcl: GraphicsConfiguration[] = gsl[0].getConfigurations();
    var ins: Insets = Toolkit.getDefaultToolkit().getScreenInsets(gcl[0]);
    println("Insets are T {ins.top}, L {ins.left}, B {ins.bottom}, R {ins.right}");It shows B 34 for my setting and T 34 if Windows' taskbar is on top, etc.

  • I have update to iOS 8.1.3, and I cannot open both centers, or use and cancel apps, or the screen change color to gray, or the display do not recognise that I touch it, and more. If I restart it, I find another mistake in next five hours.Help me pls.

    I have update to iOS 8.1.3, and I cannot open both centers, or use and cancel apps, or the screen change color to gray, or the display do not recognise that I touch it, and more. If I restart it, I find another mistake in next five hours. Help me please.
    iOS 8.1.3
    iPhone 5s 32 GB
    CPU 64 bit

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.0.1. For the iPad Mini the iOS is 6.0.2. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • Open an extern application (exe-file or dll) from a new button in SAP B1

    Hi,
    i want to start an extern Application with a new button in SAP Business One. The exter application should started with two parameters. It can be handled with an exe-file or with a dll. I dont know what its better....
    My question is, how can i open the extern application with two parameters from a button in SAP Business One. Can someone give me codeexample?
    thanks in future and best regards,
    Steffen

    Hi Steffen,
    Adapted from Re: Start Addon From another addon
    Dim startInfo As System.Diagnostics.ProcessStartInfo
    Dim pStart As New System.Diagnostics.Process
    startInfo = New System.Diagnostics.ProcessStartInfo("C:Program FilesSAPSAP Business OneSAP Business One.exe", "arguments")
    pStart.StartInfo = startInfo
    pStart.Start()
    Hope this helps,
    Ian

  • Open finder window on a specified place on the screen

    Hello,
    In trying to somehow replicate the drop stack in PathFinder (www.cocoatech.com), I use a very simple script that I save as app bundle and place on the finder toolbar. The script is
    do shell script "open /Users/myusername/temp"
    I know this is not quite Applescript, but it works .
    I have two questions to improve my little script
    1) Is there a way to force the new finder window to open on a specified place on screen (ideally to the side of and flushed against the window from which it was called)
    2) If I close the "temp" window without toolbar and sidebar (click on the oval top-right button), it will come that way when called again. However, I may forget sometimes to close temp that way. Is there a way to force a finder window to be opened without toolbar and sidebar?
    Any help will be appreciated.
    Thanks,
    MarceloC

    I think I answered my own question, thanks to an older post by Camelot on another topic. I use the following script
    tell application "Finder"
    set {l, t, r, b} to bounds of (Finder window 1)
    do shell script "open /Users/myusername/temp"
    set bounds of (Finder window 1) to {l - 305, t, l - 5, t + 300}
    set current view of (Finder window 1) to icon view
    set toolbar visible of (Finder window 1) to false
    set the sidebar width of the (Finder window 1) to 0
    set statusbar visible of (Finder window 1) to false
    end tell
    This works like a charm! Now my appetite is whetted, so I want an even more refined script . I tried to set the path bar to invisible (which I have visible by default), but failed. I tried with "set pathbar visible...", but that did not work. Maybe the Path Bar is a global property for all finder windows and cannot be set individually?
    Also, expressions of the form
    set the iconsize of (Finder window 1) to X (or with textsize or gridsize)
    are accepted and compiled by Script editor. However, all my attempts at puting a value for X led to an error at execution time. Is this the correct way to do this? What is the format to do it?
    I guess an even more encompassing question is where does one find this kind of info (as in being able to know everything I can set for a window with applescript...)
    Thanks again. This is a great support list!
    MarceloC

  • TS1717 Everytime i open Itunes in windows 7 despite me specifying maximised it opens in window that is always too large for the screen. EVen windowing the frame and then remaximiseing puts the buttons outside the edge of the screen

    Every time i open Itunes it starts in a window that is too large for the screen (despite me setting "start maximised" in the launch options). Then hitting the "maximise" button expands the window slightly pushing all the buttons and edge of the frame out of the screen and behind the taskbar at the bottom. I have to move the window to a place where i can resize it smaller than the screen then and only then does maximising the window fit it properly to the screen.

    Okay, I just opened up Itunes this evening and it's not working again! Sheeshy Peetz!
    HOWEVER, this time I followed some different steps and got it working.
    (1) Uninstall Quicktime
    (2) Uninstall Itunes
    (3) Re-download Both
    (4) Install Quicktime First!  (Read #6 below first though)
    (5) Install Itunes Next!  (Read #6 below first though)
    (6) Here is the CAVEAT for me:  I have an SSD as my C:\Drive, which is where I originally installed both of them.   So this time, I installed both Quicktime and Itunes to a Non-SSD drive, which was one of my SATA Drives.
    (7) Start Itunes and Test your Movies now.  For me I was able to play them finally.  Who knows how long this will last lol.
    Maybe this work for someone.

  • My ipod touch 5th gen fell out of my pocket while i was on my local park and landed on the concrete its smashed the screen like 2/3s of the screen is smashed is there any way the screen can get fixed?

    my ipod touch 5th gen fell outof my pocket while i wasinmy local park it landed on the concrete and the screen got smahed:(
    its smashed about 2/sof the SCREEN and i just wanted to see if the screen can be fixed or replacd thereforei do not really want a new ipod because i have lots of very important information on my ipod!
    And also my camera wont work now on both sides even though its the screen that got smashed not the back!
    many regards
    Jordan

    iPod Repair
    http://www.apple.com/support/ipod/service/prices/

  • Slideshow-Images not displaying in the right place on the screen

    I am trying to use the SlideShow widget for the first time. I have a pretty basic slideshow with six images that I want to display. When I preview it in IE or Firefox,what I get is really weird. The first image displays in the right place.  The second displays in the right place, but with a black box underneath it. The third displays under where it's supposed to go, with a black box above it. After this, the images alternate between where they're supposed to be and just below that, with a black box of the same size in the second location. I've looked at the source of other webpages that have working slide shows, and I don't see a difference between what I'm doing and what they're doing. Here is what I think is the relevant code. Can anyone suggest a way to fix this?
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SprySliderPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFilmStrip.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryImageLoader.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryImageSlideShow.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryThumbnailFilmStripPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryTitleSliderPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryPanAndZoomPlugin.js" type="text/javascript"></script>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-81003-5']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </style>
    <link href="Spry-UI-1.7/css/ImageSlideShow/basicFS/basic_fs.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    /* BeginOAWidget_Instance_2141543: #ImageSlideShow */
    #ImageSlideShow {
    width: 426px;
    height: 303px;
    border: solid 1px #000000;
    background-color: #717c96;
    #ImageSlideShow .ISSClip {
    background-color: #000000;
    /* EndOAWidget_Instance_2141543 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2141543" binding="#ImageSlideShow" />
    </oa:widgets>
    -->
    <div class="column2">
    <div id="thumb">
    <div>
    <ul id="ImageSlideShow" title="">
        <li><a href="images/balloon1a.jpg"><img src="images/baloon1a.jpg" alt="" /></a></li>
        <li><a href="images/balloon2a.jpg"><img src="images/baloon2a.jpg" alt="" /></a></li>
        <li><a href="images/balloon3a.jpg"><img src="images/baloon3a.jpg" alt="" /></a></li>
        <li><a href="images/balloon4a.jpg"><img src="images/baloon4a.jpg" alt="" /></a></li>
        <li><a href="images/balloon5a.jpg"><img src="images/baloon5a.jpg" alt="" /></a></li>
        <li><a href="images/balloon6a.jpg"><img src="images/baloon6a.jpg" alt="" /></a></li>
    </ul>
                                                          <script type="text/javascript">
    // BeginOAWidget_Instance_2141543: #ImageSlideShow
    var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
    widgetID: "ImageSlideShow",
    injectionType: "replace",
    autoPlay: true,
    displayInterval: 8000,
    transitionDuration: 2000,
    componentOrder: ["view"]
    // EndOAWidget_Instance_2141543
                                                          </script>
    <h3 align="center"><br />A Different Way of Thinking</h3></div>
    </div>
    </div>

    If you have a look at basic_fs.css, you will notice that the styles taget a class called BasicSlideShowFS.
    Yet when I look at the constructor, the class is missing as in
    var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
        widgetID: "ImageSlideShow",
        widgetClass: "BasicSlideShowFS",
        injectionType: "replace",
        autoPlay: true,
    Because you are not using the thumbnails (filmstrip), I am wondering why you did not implement the basic slideshow, which will make it a lot easier for you.
    Gramps

  • I can't open my iphoto. When I click on it the screen opens but will not load.

    I can't open my iphoto. When I click on it it opens the screen but will not load. Can't see any of my pictures. HELP!

    It's Iphoto '11 version 9.2.1

  • IPad mini keeps clicking when open and green bars highlight and keep moving around the screen

    MY iPad mini when open keeps clicking and a green bar keeps moving around the screen highlighting things, how do I stop it?

    Go to Settings > General > Accessibility > Switch Control and turn this OFF.

  • HT4623 i cannot open my iphone 4. usb itunes coming out in the screen?

    i cannot open my iphone 4. usb sign and itunes sign coming out in the screen?

    Open iTunes 10.7 or 11 on computer and connect iPhone to computer with USB cable as the iPhone is requesting.

  • When opening Adobe docs in browser the first 2 or 3 open fine, then I get an internal error and the screen is blank and I can't open Adobe docs any longer. Why?

    When opening Adobe documents in my browser everything is fine for about 4 documents, then when I try to open again, the screen goes black and I get a popup stating an internal error has occurred. I try to refresh, but that does not clear the problem. I have to close Firefox and then reopen. Very frustrating!!

    You have '''My Web Search '''installed which is malware and which will attempt to redirect your searches.
    Click the orange Firefox button, go to '''Add-ons '''and then click the '''Plugins '''menu. Find '''My Web Search''' and disable it.
    You can remove it by using this free malware scanner: http://www.malwarebytes.org/products/malwarebytes_free
    See also: http://en.wikipedia.org/wiki/My_web_search

  • A webcast that I watch regularly doesn't open up.  It says blocked plug in on the screen.  How do I unblock it?

    A webcast that I watch regularly doesn't openup.  The screen reads blocked plug in.  How do I unblock it?  Also what caused it to be blocked in the first place?

    Is this on a Mac or an iOS device?
    If it is a Mac, you probably need to update your Adobe Flash Player. Go to Adobe.com and download and install the latest version, then restart your web browser.
    Best of luck.

Maybe you are looking for

  • After software/firmware UD, battery life decreased significantly+overheating problems

    Specs of my laptop: 13 inch late 2011 2.4 GHz Intel Core i5 4gb 1333 MHz DDR3 Mac OSX Lion 10.7.5 (11G63) Hi, a month or two ago I did a software/firmware update (the thing that automatically pops up once in a while and asks if you want to update). B

  • Mac OSX 10.6.4 compatibility

    I have searched this and other forums to try and determine why Adobe does not offer a Reader-download for Intel OSX v 10.6.4. The most recent update is suggested for Intel OSX 10.5.6 - 10.6.3, and there the support ends, supposedly. I know Apple beli

  • Value mapping is not refflected in the output

    Hi Experts, I have used value mapping in PI7.1 BUT IT IS NOT REFLECTED. ID: I have used value group.IR  I have usedin the value mapping. please guide me. regards elton

  • Purchase Order BP Name issue

    Hi Experts,                  The user has created Purchase Order for item in which the user has pulled vendor name from BP. But in BP  the vendor name is perfect given but in Purchase Order it shows wrong vendor name. I found difficult to update purc

  • Why do I have to double tap my apps now?

    My iPhone is acting crazy.  Can't slide any screen or touch to open apps.