How do I create more than one "window"?

Hi.
I just started with JavaFX and know about the basics (at least I thought so).
But: How do I create an application with more than one "window"?
One stage has one scene with several components like buttons - ok... I already have a stage with a scene with buttons and actions - Now I want to click one of these buttons and then get to another stage (or scene or whatever) where I see some other textfield and buttons.
How do I realize this with JavaFX? I did not find anyone example in the web? What am I missing? Do you not create this flow with JavaFX?
Please can someone explain this to me (and if possible post a link where I can some code where this is implemented)?
Thanks a lot...

Recent thread: [Multiple stages app dev|http://forums.sun.com/thread.jspa?threadID=5405420]
Other threads... well, hard to find back, I reckon.
Simple example:
    // Some control/shape
      Circle
        centerX: 15
        centerY: 15
        radius: 10
        fill: Color.LAVENDER
        stroke: Color.PURPLE
        onMouseClicked: ShowDialog
      }and elsewhere:function ShowDialog(evt: MouseEvent): Void
  println("Circle pressed");
  var dialog: Stage = Stage
    title: "A Dialog"
    visible: true
    scene: Scene
      width: 300
      height: 50
      content:
        Text
          x: 5, y: 5
          font: Font { size: 24 }
          content: "I am a secondary window"
          textOrigin: TextOrigin.TOP
}Apparently, you just have to create an instance of Stage to have it to appear.

Similar Messages

  • How can I create more than one main window in a page of SAP SCRIPT?

    How can I create more than one main window in a page of SAP SCRIPT? If anybody helps me I will be obliged.
    Regards,
    Subhasish

    Hi Ganguly,
    It is possible to have more than one main window in a same page.
    You create a main window and simply you copy and past it in the same page.. it will create first main window name as MAIN and other main windows as MAIN01,MAIN02.... up to MAIN99.
    Contets flow from MAIN , MAIN01, MAIN02.......................MAIN99. contents after filling the current window it flows to next window(by default, you skip as well with some keyword not sure could be NEW-WINDOW)
    you want print the main window data twice? or you want to create two main window in the same page ?
    1. give two copies in the no of copies in the output type screen ( Which pop up is coming after excute the program ).
    2. create two page with the same script form.
    3. you can write the coding inside the program to print twice the same page.
    Hope this information use full to you..

  • When in safari how can i have more than one window open?? New ios doesnt allow it.

    Problem is when i updated to the newest ios 7. The dang thing doesnt allow me to have more than one window open at any time. This only makes things repetitive, complicated and slow. Moreover, the icons and overall view are probably designed to be in a kindergarden game, cos they look really stupid on iPad, whos gonna take apple seriously with this so called "improvements". If anyone knows how to open more than one window at at atime i,ll be really grateful to be told. Or if anyone can tell me how to uninstall the friking update i,ll be even more grateful. Thanx guys.
    <Subject Edited by Host>

    Tap "+" sign on top right.

  • HT4436 How to I create more than one iCloud account under one apple id?

    I was told at the apple store that I could create more than one iCloud account under the same apple id. Does anyone know how to do this? I need to make three iCloud accounts so everyone doesn't get each other contacts and notifications.

    No: but it costs nothing to create another Apple ID and open a new iCloud account with that. The only caveat is that you must associate a different email address with the new Apple ID from that with the old ID (since the address will itself become the ID) - you could open a free email address with Yahoo or Gmail.

  • How do I  create more than one CSS style for text links?

    Hello,
    Just like the title says, I need help with creating more than one CSS text link style in Dreamweaver CS4. For instance, I want the navigation on the website I'm building to have a different text link style than a link in some part of the body copy. I've been playing with Dreamweaver for a while and can't find any way to do this. If it's even possible to do this, I would really appreciate any help.

    Yes it is possible but as you have failed to provide a valid link to your site, I will tell you in general Terms:
    1) First create a class or an ID to to your Nav bar;
    2) Now style your navbar in such a way that these styles will only apply to your nav bar.  To do this, you start your style by doing something like this:
    ul#vavigation {.........}
    ul#navigation a {.........}
    ul#navigation a:hover {.........}
    ul#navigation li {.........}
    your html code might look like this:
    <ul id="navigation">
         <li><a href="#">Home</a></li>
         etc etc .........................
    </ul>
    hth

  • How can I create more than one printer queue for a printer

    I would like to have more than one "default" setting for my printer.  This is so I can use a 3rd party print utility (fingerprint) to print to a non-airprint printer from my ipad.  The utility prints using the default configuration.  I don't need to get fancy here.  Just "draft B&W' , "normal", and "Color best quality".  If I need something else, I can always email the document to my MacBook.  The utility has something about a virtual printer, but all I could find about that is that it is used for PDF printing and maybe a workflow.
    My technology level:  Used to be a programmer,  after a decade of retirement, I can't even program an applescript today.

    Take a look at this add-on.
    https://addons.mozilla.org/en-US/thunderbird/addon/signature-switch/

  • How to create more than one window for a vi that can be acces anytime...just like using the creating new window in internet explorer

    hello guys,
    I want to create a vi such dat when I press a button on the frontpanel of the vi it opens the same vi in another window..and I should be able to work on this new window also able to work on the previous window without closing it...Just like opening a new window when using the internet explorer....
    I try to make my vi a reetrant vi but when I click the new window button on my vi..a new clone windows open up that I can control but the previous windows is not accessible not I close the current window...I want a way that I can acces both vi window and d operation of one will not affect the other like when the indicators are updating in one window the other window will not update...
    Thank you...
    Solved!
    Go to Solution.

    The picture attached shows what i want to achieve as a vi or executable...The new window button opens a clone of the vi, but the previous window can not be operated on until i close the clone window...i want to be able to work on both window at any time without closing one of them....The vi was design in labview 2010
    Attachments:
    ni.jpg ‏66 KB
    window vi.vi ‏8 KB

  • How do I create more than one ipod account on one computer

    I have an eighty gig ipod and just recently bought a Clip and want to sync both to my music is it possible. If not how do I create two accounts on the same computer?

    If you are adding a second iPod for your own use you don't need two accounts. Just connect your new iPod (by Clip I presume you mean an iPod shuffle) to your computer and follow the on screen instructions to register and name it and you can choose whatever setting you like to sync it. iTunes will recognise each device that you add and they will have their own settings.
    There are several different ways to use two or more iPods with one computer, have a look at this help page for suggestions and choose the method that suits you best: How to use multiple iPods with one computer

  • How do I create more than one navigation button in Adobe Fireworks CS6?

    Hi guys, 
    Apologies if this comes across as very stupid question. I am a complete beginner with Adobe Fireworks and I'm in the process of creating my first website and I have got to the stage where I want to create navigation buttons and the book I have recommends using Adobe Fireworks so I have downloaded. My problem I have encountered is after I have created my first two state button what is the next step to create another two state button which has the identical size and colour of the previous two state button?
    Here is a brief rundown of the steps I have done to do the first two state button:
    1) Edit-Insert-New Button
    2) Chose the rectangle and then specified the width and height of the button and chose my stroke and fill colour
    3) Centred the button and used the text tool to put the button as a 'Home' button for my website. I then went on Window and Align in order to centre the text on the button
    4) I went on Select-Select All and then went on Windows-States to open the states panel. I right clicked on state 1 which is Up and clicked on copy to states. I then selected the next state radio button and clicked OK.
    5) I selected State 2 and slightly modified it by changing the colour of the text.
    6) I then clicked the back button to return to the main window.
    After this what step should I take to create my another button which has the same size, colour and text style as I have created for the first button? I tried just repeating these steps again but when I do step 1 it creates a new fireworks document which means I have to create the buttons size, colour, text style from scratch.
    Your help would be greatly appreciated guys and once again I do apologise if this comes across as a silly question.
    PS Please could you let me know if the steps I have taken to create the 1st two state button are correct

    Initially you need to configure via the provider's own web based control panel multiple e-mail accounts. If they don't have one, work it out with their customer support to have three distinct mail accounts. Then you can setup multiple logins by adding new accounts to mail. Since mail checks all accounts per Mac OS X user account simultaneously, it probably is best to use different usernames on the same internet provider. If you don't want mail to show all the information from all three mail accounts simultaneously, configure Apple menu -> System Preferences -> Accounts to have multiple users on your computer, and configure each of the internet service provider accounts for each separaet user on Mac OS X.
    Message was edited by: a brody

  • How can I create more than one different signatures for one account or for one address?

    I want to vreate 2 jr more signatures for one account. For example, in different languages, with different text, etc.

    Take a look at this add-on.
    https://addons.mozilla.org/en-US/thunderbird/addon/signature-switch/

  • How do i create more than one account in Mail with the same isp?

    I am using suddenlink and have set up one account for Mail. It seems to work ok. I want to set up two others with the same provider but can't.
    Let's call the first account, account1
    It works.
    I set up another and call it account2.
    It is using the same provider which already has the account set up on their end, but how do I set it up to work on my end? Does it need to use the same username as account1 or can it use the user name for account2? I hope this makes sense.
    I just want to use three email addresses from the same provider with mail. I need some help. Please?

    Initially you need to configure via the provider's own web based control panel multiple e-mail accounts. If they don't have one, work it out with their customer support to have three distinct mail accounts. Then you can setup multiple logins by adding new accounts to mail. Since mail checks all accounts per Mac OS X user account simultaneously, it probably is best to use different usernames on the same internet provider. If you don't want mail to show all the information from all three mail accounts simultaneously, configure Apple menu -> System Preferences -> Accounts to have multiple users on your computer, and configure each of the internet service provider accounts for each separaet user on Mac OS X.
    Message was edited by: a brody

  • How can I create more than one program shortcuts in LabView Installer?

    I have builded 3 executable files in LabView Application Builder. I want to create an installer (using the same application builder) that can copy the 3 files to the same destiny directory, install the Runtime Engine and create (in the same program group) 3 shortcuts for the executables. Is it possible with LabView Installer?

    The Application Builder does not offer this option. It is really intended as a basic installer builder. However, you can use other software packages to enhance your isntaller. There are many third party installer builders that you can use to modify the msi file which the application builder create for you. You might want to check one of those out and use it for your application.
    J.R. Allen

  • How can I create more than one forums

    I create a forum1 base on KM Discussion iView,
    then I create a forum2 base on KM Discussion iView to.
    then I found that the forum1 and forum2 is the same forum.  when i post a topic on forum1,  i will see this topic also in forum2.
    would you tell me what is the right way to create forum?
    thanks

    Hi Kang
    in the prorperties of the iview there is
    Path to Discussion-Related Object. Here you specify different path to the km(to the folder you create for forum1 and in the other iview for form2). Then the discussions in one forum will not be reflected in other forums.
    Regards
    Geogi

  • How can I open more than one window in Photoshop Elements 12?

    In Version 8 I could work on multiple images in separate windows. It appears that I cannot do this in Version 12. Is there a way around this in 12 or do I have to just go back to using version 8 for the work I am doing?

    Go to Adobe Photoshop Elements Editor>Preferences>General (mac)
    or Edit>Preferences>General (windows)
    and check Allow Floating Documents in Expert Mode
    For future reference you should post in the photoshop elements forum, where folks are more familar with photoshop elements.
    (you posted in photoshop forum)
    http://forums.adobe.com/community/photoshop_elements

  • How can I have more than one window open at a time, say to compare information?

    As I am doing family research, I sometimes need to have a window open so I can transfer some of the information to another window, or to double check dates etc. Although the information is available instantly by clicking on tabs, I would still prefer to have it in front of me for comparison.

    You can tear off a tab (right-click: Move to New Window) to open it in another window and resize both windows so you see them at the same time.
    *Fox Splitter: https://addons.mozilla.org/firefox/addon/fox-splitter/
    *Split Pannel: https://addons.mozilla.org/firefox/addon/split-pannel

Maybe you are looking for

  • Issue with date formula when running a report on the 1st day of the month

    We have a formula that compares last month data against last year last month, the report runs on the 1st of every month although the report errors when it tries to run in January being the first month of the new year it tries to look for a month begi

  • ODBC configuration on Windows 7 Enterprise N

    Dear Friends I will be deploying Windows 7 client Enterprise N across the company. I have to test ODBC connection on the machine with connection to an Access 2003 database or Access 2010 database (32-bit). I am not able to connect..Any idea... Regard

  • Firefox toolbar displays only, browser window missing?

    When I launch Firefox the browser window opens as expected. However only the toolbar, bookmarks and search bar are displayed. There is no browser window display, it is simply not there. In other words there is no way for me to see the internet using

  • Thinking I may have broke User/Device Affinity in my setup?

    Morning, User/Device affinity has been working well for us for a number of weeks now.  I think maybe some recent changes I made to Group Policy regarding event logs may have borked it because the number of affinity's is slowing going down over the pa

  • "Convert" from RAW to JPEG?

    I normally shoot in RAW so I have the power to make more accurate corrections, if needed. 90% of the time I don't need the RAW image after I've made adjustments, however. Here's what I would like to accomplish using Aperture 3: -Import RAW images -Ma