Is it possible to push the application to the second screen?

I have an JavaFX application. There are two monitors connected to the CPU.
When I launch application for the first time, I need to see the application in the 1st monitor (primary monitor).
When I launch second instance of application , I need to display the screen in the second monitor (secondary monitor). How do I send the display to different monitor screens connected to same machine?

Implementation for topley's earlier post.
import javafx.stage.Screen;
import javafx.stage.Stage;
import javafx.scene.Scene;
def primary: Screen = Screen.primary;
var secondary: Screen;
for (screen: Screen in Screen.screens) {
    if (screen != primary) {
        secondary = screen;
Stage {
        title : "I'm Not on the Main Screen"
        x: secondary.visualBounds.minX
        y: secondary.visualBounds.minY
        width: secondary.visualBounds.width
        height: secondary.visualBounds.height
        scene: Scene {
                width: 200
                height: 200
                content: [  ]
}

Similar Messages

  • I was going to install Rosetta Stone Spanish onto my Macbook but am concerned about it taking up space on my 2GB hard-drive.  I have an external WD hard-drive; is it possible to put the application onto the external hard-drive to save space on my mac?

    I was going to install Rosetta Stone Spanish onto my Macbook 10.6.7 but am concerned about it taking up space on my 2GB hard-drive.  I have an external WD hard-drive, and I was wondering if it is possible to put the application onto the external hard-drive to save space on my Mac? 

    I think you're confused about how much hard drive space you have.  You probably have 2 GB of RAM...  there hasn't been a Mac shipped with only a 2 GB hard drive in a while.  At the bottom of any Finder window, how much space is available?
    If you're actually running low on space, you should move documents to the external drive, since many applications want to be on the system drive.

  • HT3576 I accidently cleared the push notifications on my i pad and now i want to see them back.is there any way to see them,because i have to see all the application what the notifications was for.it takes a lot of time.i am isking this to save my time in

    I accidently cleared the push notifications on my i pad and now i want to see them back.is there any way to see them,because i have to see all the application what the notifications was for.it takes a lot of time.i am isking this to save my time in future

    I found one other way to do it.  I just deleted them all out of my iTunes library. Now I can re-import them from Window's My Music file with the original artists' names intact.
    Thanks for your help, Matt!

  • How to dispatch an event from the application to the preloader

    HI everyone
                     I've been searching everywhere on the net, and as far as it goes I gotten no answer for this. When the application hit the preinitialize phase, I'm calling the loadStyle method. As you can see I will hold the CreationComplete event until I the swf is ready. What I want to do, is to have a second loading bar in the preloader (no problem here) to show the progress of the swf downloaded, hence the StyleEvent.PROGRESS event. I would like to know how can I dispatch that event to the preloader?
    ///////////////////APPLICATION
                  import mx.events.StyleEvent;
                import mx.styles.StyleManager;
                private function loadStyle():void
                        var eventDispatcher:IEventDispatcher = StyleManager.loadStyleDeclarations("cl/elmelej/mangiare/estilo/estilo.swf");
                        eventDispatcher.addEventListener(StyleEvent.COMPLETE, completeHandler);
                        eventDispatcher.addEventListener(StyleEvent.PROGRESS,progreso);  
                private function completeHandler(event:StyleEvent):void
                        super.initialized = true;
                private function progreso(event:StyleEvent):void
                override public function set initialized(value:Boolean):void
                    // Hold off until the Runtime CSS SWF is done loading.
    ///////////////////////////////////PRELOADER
    virtual public function set preloader(value:Sprite):void
                _preloader = value;
                value.addEventListener(ProgressEvent.PROGRESS, progressHandler);   
                value.addEventListener(Event.COMPLETE, completeHandler);
                value.addEventListener(StyleEvent.PROGRESS, progressHandlerCSS);  
                value.addEventListener(FlexEvent.INIT_PROGRESS, initProgressHandler);
                value.addEventListener(FlexEvent.INIT_COMPLETE, initCompleteHandler);
    As you can see, the preloader is listening to StyleEvent.PROGRESS  events, but I cant dispatch that event to the preloader so that it can react to it. I hope you can help me. Thanks for your time and help
    Sebastián

    Alex,
             Thank you very much for the fast answer, but I'm not an advanced programmer in Flex, so I would need a bit more help from you. I wouldlike you to tell me if it is possible to do what I want to do? and could you be more specific n the information you gave me please?
    I think you mean something like this:
    private function progreso(event:StyleEvent):void
                  (this.systemManager.getChildAt(systemManager.numChildren) as Preloader).getChildAt(XXXXXXXX).dispatchEvent(event)
    /////////////////////// (this.systemManager.getChildAt(systemManager.numChildren) as Preloader)) -------->gets the preloader 
    ///////////////////////(this.systemManager.getChildAt(systemManager.numChildren) as Preloader).getChildAt(XXXXXXXX)     -------------> would get the progressbar (only If I have XXXXXvalue)      
    let me tell you that the method that I posted on the last message was a part of this class:
         public class PreloaderDisplayBase extends Sprite implements IPreloaderDisplay
    PreloaderDisplayBase is my Preloader.
    I hope you can help me.
    Thanks Again
    Sebastián Toro O

  • "You are opening the application----- for the first time"  error

    I've seen a few people post about this from as far back as 2005 but I haven't found anything that worked for me. I believe I started having this problem after upgrading to Snow Leopard.
    When opening an application, most often Microsoft Office by opening a specific document/file, I get the warning that I'm opening the application for the first time. This is mostly an annoyance but I don't know how to get this error to stop coming up. I saw a suggestion to delete caches and make sure the application was set as default for that file type; these haven't solved the problem yet.
    Thanks!!

    Thanks for the reply, unfortunately I'm not sure it helped. I did recently trash a couple caches, but this was after the problem had started. I found an old post that suggested the cache might be corrupted and that it would be a good idea to trash it.
    The link you posted notes that the deleted cache could cause that problem, but I would think a new cache would be created and it would be resolved. Is it possible I have a setting that's erasing it? How would I change that? It also sounds like in the link you posted that theMacMac's problem eventually went away without explanation.

  • I was told of an application that will allow the use of a second screen to view my data and files, but I forgot its name. I'd like to make the connection because my LCD is broken.

    I was told of an application that will allow the use of a second screen to view my data and files, but I forgot its name. I'd like to make the connection because my LCD is broken.

    You don't need an application, just plug a compaitble monitor into the display port of your MacBook Pro, set the screen up in System Preferences>Displays

  • How do I set Safari to prompt before closing multiple tabs OR reopen all of the closed tabs when when I relaunch the application?  The "Reopen all windows from last session" is unselectable.

    How do I set Safari to prompt before closing multiple tabs OR reopen all of the closed tabs when when I relaunch the application?  The "Reopen all windows from last session" is unselectable.

    It would seem if your choose "Show my windows and tabs from last time" '''''and''''',
    *when you last closed Firefox, you had no web site open (just a blank tab), that it would open just that blank tab
    *when you last closed Firefox, you had one or more tabs/web site open, that would allow you to "Restore Previous Session"
    #Have you tried that?
    #If so, what is happening in each circumstance when you reopen Firefox?
    '''Restore Previous Session'''<br />
    Open tabs are automatically saved when closing Firefox beginning in Firefox 4. To open your last session, after Firefox starts, click History > Restore Previous Session. For this to work
    #You must be remembering history (Options > Privacy > Remember my browsing history).
    #*See [https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel Options window-Privacy panel]
    #You must not be using Private Browsing or permanent Private Browsing
    #*See [https://support.mozilla.com/en-US/kb/Private%20Browsing Private Browsing]
    #You must not use Clear Recent History or Clear history when Firefox closes
    #*See [https://support.mozilla.com/en-US/kb/Clear%20Recent%20History Clear Recent History]
    #*See [https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel Options window-Privacy panel]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]

  • I have a Mac Pro using OSX 10.7.4.  When using apple mail I click on the address icon to obtain email address and nothing happens.  I've restarted both the application and the Mac but still won't open address book.  Any ideas please.

    I have a Mac Pro using OSX 10.7.4.  When using apple mail I click on the address icon to obtain email address and nothing happens.  I've restarted both the application and the Mac but still won't open address book.  Any ideas please.

    Assuming you have these accounts set up in Mail, open preferences and under Accounts tab, edit the SMTP outgoing server list. Do you have a .mac address in the list? If so, delete it.
    Are you using iCloud?
    For the troubled account, select the correct SMTP server for that account in the box and check the box to use only that server with that account.

  • I have a mac osx 10.411G4 powre pc and recently I down loaded excel for mac 2004 the problem that iam having is that the two other programs i downloaded one program it says unable to read the dictionary of the application of the extension because it is no

    I have a mac osx 10.411 power pc and recently i downloaded excel for mac 2004 so that i could download some program that only would work if i have excel for mac but what happen was it went to script and said that unable to read the dictionary of the application of the extension because it is not scriptable and the second pop up said the document autorun,inf could not open script editor can not open files in script editor app can any one help me how do i get these program working  thank you norro460

    good afternoon  Limnos i think  i didnt give the right info I didnt download well in a way i did i bought a copy of microsoft excel for mac 2004 i loaded on to my mac then i went and down loaded some software that said i needed to have excel you see my mac is osx 10.4,11 power pc G4 and that is were i had the problem now  the excell loaded allright but the the other programs did not the pop ups say it is not scriptable or can not read dictionary if you can help m,e iam not great with computers but i  along

  • How to delete the applications in the "Updates" tab at the lower right part when you open the App Store?

    Hi, I bought the new Itouch 5 recently, i'm just wondering how can i delete the applications in the "Updates" tab at the lower right part when you open the App Store? I just want to delete the applications that i've already deleted but it seems that it is still posted at the "updates" tab ad i can't delete it. Please i need your help. Thank you for those who will reply.

    Try turning off &amp; on your iPod (sorry if that sounds dumb, but it might work)
    Or, since that's a matter of not refreshing, turn off your wifi&amp; reconnect
    Hope this helps

  • How can I remove the applications from the Content Administrator

    I had undeployed the applications from Content Administrator in two ways:
    A:
    1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
    2. Log in with an Administrator user.
    3. Under the Server node click Services-> Deploy.
    4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
    5. Select the application and click on the Remove button.
    B:
    Undeploying using SDM remoteGUI.
    after I finished that,the application still exist in the browse of Content Administrator Web Dynpro.
    But it is'n invailable.When I click the application name,it throws exceptions:
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get list of defined JCO clients for deployable object 'local/Welcome'.
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get enable state for 'local/Welcome'.
    No resource bundles found for development component ''local/Welcome''.
    My question is , how can I remove it form the list.

    Hi,
       Have you restarted the server after removing the application from the Visual Admin?
    Regards,
    Satyajit.

  • Windows SharePoint Services Error: Exception Details: System.IO.FileNotFoundException: Could not find the application on the Web

    I am developing a WSS based WCM site for a customer which has a bilingual interface. Now everything is wokring fine in the development environment. Today I backed-up the Content Database and took the related control file (.ascx & .ascx.cs) to deploy it to the cusomter's test machine. I dint face any problems with the deployment, and after deleted and added the Content DB from Central Administration, I was able to access the English part of the website along with my changes without any problem.
    But when I tried accessing the Arbic part of the website, Its giving me the following error,
    تعذر العثور على تطبيق ويب الموجود على http://172.20.5.163/ar/. تأكد من كتابتك لمحدد موقع المعلومات (URL) بشكل صحيح. إذا كان URL يؤدي إلى محتوى موجود، يجب على مسؤول النظام إضافة تعيين URL للتطبيق المراد خاص بالطلب الجديد.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: تعذر العثور على تطبيق ويب الموجود على http://172.20.5.163/ar/. تأكد من كتابتك لمحدد موقع المعلومات (URL) بشكل صحيح. إذا كان URL يؤدي إلى محتوى موجود، يجب على مسؤول النظام إضافة تعيين URL للتطبيق المراد خاص بالطلب الجديد.
    Roughly translated, it means "Could not find the application on the Web http://172.20.5.163/ar/. Make sure you create your site specific information (URL) correctly. If the URL to the content of lead present, the system administrator to add URL for the application of the appointment of a special request to be new.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: Could not find the application on the Web http://172.20.5.163/ar/. Make sure you create your site specific information (URL) correctly. If the URL to the content of lead present, the system administrator to add URL for the application of the appointment of a special request to be new."
    Can you please tell me what is the cause of the problem and how to rectify it? Also do I need to
    Regards,
    SoniSSP

    It is searching for the page, but that page is not available. Did u install the current language pack?

  • HT4489 this is ridiculous! how do you keep the size of the picture for a contact that small? it is usually a piece of  a lager picture... any way to make the size of the pictures the 224 KB they want? I always thought the application cropped the picture t

    this is ridiculous! how do you keep the size of the picture for a contact in the address book that small? it is usually a piece of  a lager picture... any way to make the size of the pictures the 224 KB they want? I always thought the application cropped the picture to fit their requirements...
    Help
    Leo

    Gem
    Events are organised strictly on date and time, as read by iPhoto from the Exif data in the Photo. You cannot manually sort.
    Create Albums. You can do much more organising with Albums, use Photos from different events, place them as you will. Best of all, Albums use no disk space at all. They simply reference the file on the Hard Disk. So a pic can be 1, 10 or 100 Albums with no wasted disk space whatever.
    Regards
    TD

  • During an update of the applications on the BlackBerry smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatis

    I have reset both my torch and playbook back to original only thing that I kept was my contact. And still problems I am a few min away from leave my loved blackberry and going android !! Or heaven help us Phone
    Issues 1) playbook wont connect to desktop manager anymore 
    2) Play book has 2 calendar icons with two different settings on them ??? I have one that is currently working with my yahoo email and calendar account. 
    3) my Phone when connected to desk top software shows the calendar as read only
    4) Unable to update my phone says During an update of the applications on the BlackBerry® smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatisfactory dependencies." 
    I just want my email and Calendars to work I am tried of spending nights trying to get these deices working !!! 
    someone please help me. !! 
    I know you are going to ask I have updated everything last time and it is all as update as it can get. 
    As for now as I wait I am going to wipe my phone again and just set everything up again !! If I have to even my contacts AHHHH Help I am starting to think crazy thoughts 

    Did you try to eboot the your PC or laptop where your device is connected ?
    I experienced this with my windows laptop, after a failed to do an update, I restart the laptop and my Torch, then retried, and it's worked

  • I have updated my ipad yestarday sicne then i am not able to open any application on my ipad2. some of the application able to open in the page and not able to open all the applications in the second page. Does any one got this type of issue? any sugg?

    i have updated my ipad yestarday sicne then i am not able to open any application on my ipad2. some of the application able to open in the page and not able to open all the applications in the second page. Does any one got this type of issue? any suggestions?

    This problem has been reported a few times. The solution is to install any new App say a free one. This seems to fix whatever has gone wrong.

Maybe you are looking for

  • Need code for the problem

    have to create a instance of class if that is the first instance ... successive call to create the instance should return the first instance of the class....i need the code for this pls help me .... even if the code is in C++ its ok

  • I want Anna back to my phone.

    please i want anna back to my phone Moderator's Note: We have changed the title into a subject-related title. This is to keep the forum organized and let other forum users easily see and respond to this post.

  • Convert planned orders in contracts

    Hi. When running MRP, It seems that is only possible to create Purchase requisitions, schedule agreement divisions or planned orders. I need that the MRP output goes to a contract. Does anyone know if itu2019s possible to do it directly from MRP run?

  • Not all calendar entries sync with icloud

    Because Mavericks no longer allows you to sync Outlook calendar entries directly to iOS devices, I've started using the Mavericks calendar. But not all of my calendar entries sync to iCloud and I don't know why. If I make a calendar entry in Calendar

  • Bid invitattion - mandatory bidder

    Hi, It's mandatory to have at least one bidder for all bid invitation types for my system. but there's on exceptional case whereby the message shown to enter at least one bidder must be an error message instead of warning message. currently the setti