Communicate between two differente JavaFX desktop design file

I have created two JavaFX desktop design file with netbeans 6.9.1. One is the login and the other de principal menu. In java i create a object of the principal menu an just call object.setVisible(true).
So in javafx how to call the menu principal from the login?. what should i code in the btnLoginAction??
this is the login javafx:
function btnLoginAction(): Void {
function run (): Void {
var design = Login {};
Stage {
title: "Main"
scene: design.getDesignScene ()
}

I'm not looking for a "tutorial created especially for me".... Just perhaps someone that can copy and paste some code from a similar project that they have done so I understand how to do it.
You could have simply put here's a tutorial for how to use TweenLite to crossfade between four pages, and here's one that will let you pass information between two .swf files. If you recently watched the tutorials then it wouldn't take long to find them (maybe you have them bookmarked) and post a couple links.
Anyways, I just found an excellent tutorial on how to crossfade using TweenLite (found here) and an article that explains how to pass information from one .swf to another (here). It took some searching and knowing exactly what I was looking for to find them, but that's a much better answer for someone looking to do those two things than I've found here (or elsewhere for that matter).

Similar Messages

  • Communicate between two iviews

    Hi everyone, if i create two iviews. And i want to pass a variable from one iview to the other one by triggling an event .
    What technology can help me do that?  Thx~~

    Hi Louis,
        Communication between two iviews is accomplished by EPCF concept.
      Refer to this forum thread where Prakash Singh has clearly explained about the same
    Communicate between two iviews
    Hope this helps.
    Regards,
    Joshua Kiran

  • How can I communicate between two simulated software

    Hallo,
    I have confusion regarding this topic "How can I communicate between two simulated software".
    1: PC with CAN simulation
    2:  PC with AFDX Simulation
    Now i have to communicated these two pc with each other.
    How can i communicated? which module from ni is best for it.
    thanks in advance
    BR

    I recommend looking at the Simple Messaging Reference Library that NI has released.  Use the TCP/IP version of it.
    FYI, TCP/IP is a communication protocol that is used to communicate between two computers.  It is what the internet uses.  So you just need a network switch or router between your computers and you can talk to each other with their IP address.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Communicate between two desktops

    Can anyone lead me to a resource, or briefly describe the process, to address the scenerio below:
    I have two Windows computers on a LAN. I need to develop an application  for each computer that (when both computers are runing the application) allows communication between the two machines. For example: pressing a button within the application on one computer would execute a function in the application of the other computer). I am comfortable building stand-alone air apps and web-based PHP/MySQL apps with Flash/Air/Dreamweaver; however, I don't know where to start when creating a connection between two computers. Any suggestions? Thanks!

    I've worked on several projects where we did this. We used a "client/server" architecture where one of the AIR apps acts as the "server" (conceptually it's the same as a web server) and the other AIR app is the "client" that connects to the server the way a web browser would talk to a web server.
    For your "client" use the Socket class.
    For your "server" use the ServerSocket class.
    Alternatively, we also used UDP sometimes, so we'd use the DatagramSocket class on both sides (both act as "sender/receiver"). However, my recollection is that we ended up moving away from UDP since it's unreliable (by design) and switched to using TCP sockets (Socket/ServerSocket).

  • How to calculate number of days between two date in Template design?

    Hello guys
    I have a situation where I have to create a template that returns data, and one of the thing of the existing report is that there is a column that is actually the number of days between start date and end date columns..
    So in template, how would I be able to do the same? I have start date and end date columns on the template, now when I created another column using expression like end date - start date and preview the template, I am getting errors saying :
    Caused by: oracle.xdo.parser.v2.XPathException: Cannot convert 03/31/2009 to number.
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
    Please advice
    Thanks

    Hi
    There is an extension function you can use, from the javadoc:
    date_diff
    public static long date_diff(java.lang.String format,
    java.lang.String fromDate,
    java.lang.String toDate,
    java.lang.String locStr,
    java.lang.String tzID)
    Method to get the difference between two dates in the given locale. The dates need to be in "yyyy-MM-dd" format. This function supports only Gregorian calendar.
    Parameters:
    format - the format to which the difference is required; allowed formats are y (for Year), m(for month), w(for week), d(for day), h(for hour), mi(for minute), s(for seconds) and ms(for milliseconds)
    fromDate - the first date
    toDate - the second date
    locStr - locale string -> lang-Territory
    tzID - timezone ID ->http://java.sun.com/j2se/1.4.2/docs/api/java/util/TimeZone.html
    Returns:
    the difference in dates in the desired format
    For example
    <?xdoxslt:date_diff(‘d’,’2009-09-14’, ‘2009-09-20’,’en-US’,1)?>
    give a result of 6
    You can substitute in columns for the dates, just remember the date format required.
    Regards
    Tim

  • Select Between two date ranges from xml file

    Hi ,
    I have a column date_ with datatype VARCHAR2(150) it stores
    data as
    05/19/2010 11:23 AM
    05/20/2010 12:23 PM
    05/22/2010 11:23 AM
    05/25/2010 11:23 AM
    i have to select all the rows between 05/19/2010 and 05/22/2010 how to do that this column is in xml file

    I have a table wit two fields
    Field1 is integer and field2 is xmltype
    in the xmltype i store an xml file
    <ParentNode>
    <Node>
    <Cat>1</Cat>
    <Date>05/19/2010 11:23 AM </Date>
    </Node>
    <Node>
    <Cat>2</Cat>
    <Date>05/20/2010 12:23 PM </Date>
    </Node>
    <Node>
    <Cat>3</Cat>
    <Date>05/22/2010 11:23 AM </Date>
    </Node>
    </Parentnode>
    I am using teh below query to retrive teh result
    SELECT T.Feild1, XML.* FROM Tablename T,
    XMLTable( 'Parentnod/Node' PASSING T.Feild2 COLUMNS Cat NUMBER PATH 'Cat' ,
    DATE_ VARCHAR2(100) PATH 'Date'
    )XML where cat >1;
    now i have to do teh same to select the rows between two date range 05/19/2010 and 05/21/2010
    hope i am able to make teh question simple

  • Communicate between two backing beans

    Hi !
    How can I communicate between backing beens ?
    I would like to put data from Bean1 to Bean2.
    This is my code in Bean1, I try this:
    Bean2 b = new Bean2();
    //... b settings...
    //Map map = facesContext.getExternalContext().getRequestMap();
    //map.put("Bean2", b);
    HttpServletRequest request = (HttpServletRequest)facesContext.getExternalContext().getRequest();
    request.setAttribute("Bean2", b);
    So I put Bean2 instance in request, but JSF created new instance :(
    How can I solve this problem ?

    This article might give you some new insights: http://balusc.xs4all.nl/srv/dev-jep-com.html

  • To communicate between two process

    I have two processes running on two different machines. They have to communicate with each other by sharing messages in a peer to peer manner. What is the best possible way to achieve this. I have finalised upon using sockets, but reestablishing connections after other peer is brought down is a pain with sockets.
    thanks and regards.

    To exactly put it there's a GUI running on one machine and a process on other. both of these share messages. Now it must be something like bringing one down then other should not be affected it should keep buffering messages and wait for other side to come up and then start sending messages. I looked into JXTA it seemed to be a big API to work with for such a small applicaiton. It won't be a good idea to provide client with hardly some 500K of class file(or less probably) and 1.4 MB of API's. So thats why thought of writing my own communication classes which will handle this on both ends. How complicated JMS would be to work with. Does it have direct calls like register an application on some machine and then start sending and recieving messages and also take care of any of these processes being up or down.
    let me know
    thanks a ton for your support.

  • Dependency between two Variables in query designer filter prompt

    Hi Experts,
    I'm working in BW 3.5 query designer and I have two characteristics ZONE and PLANT (both are filter variables) and what I need is that when the user make a selection of one ZONE (for example Zone north) then he will be able to see in the Plan Variable the values for selection that corresponds with the Zone selected previously in the other filter variable (ZONE).
    Thanks in advantage
    Roberth Reyes

    Hi shanthi bhaskar,
    Thanks a lot for your answer.
    I have one doubt about it:  with this solution that you propoused the user will be able to select the values for plant?.
    I mean, the user make the selection of the value for Zone, then he wants to see the in plan´s variable the values that corresponds with this Zone for make a new selection of plan.
    What happens if I need this dependency also in another variable like time variable?
    Thanks  a lot

  • Communicate between two JInternalFrames

    Hello all.
    I have a swing application where I have a JFrame that encompasses two JInternalFrame's.
    We'll call them AppFrame, IFrame and StatusFrame
    I am attempting to create a running log of messages (Strings) that will be shown in StatusFrame.
    The IFrame will be generating these messages that need to show up on StatusFrame.
    Both are invoked by AppFrame.
    My question is: How do I pass the message from IFrame to StatusFrame? I imagine it will involve some object sharing, but my brain is fried.
    If anyone could point me in the right direction, I would appreciate it.
    Thanks!

    Thanks for bringing me up to speed!
    Just a couple of questions...please forgive me, I am very new to homegrowing listeners.
    1) When you said "which should save off the listener in some collection", how would you go about taking StatusListener listener and storing it, and, how do I access it to send a status? Do I access it by using:
    listener.statusChanged("message")?
    2) When you say "use the addStatusListener method of the iframe to add itself", just for clarification, I assume you mean something to the effect of:
    iframe.addStatusListener(statusFrame) , right?
    Again, thank you for helping me understand. I'm not quite there, but I am a lot further than I was yesterday.
    Message was edited by:
    nawlej

  • Communicate between two (same) Applications

    Hi there,
    I've written a server application in java.
    This Server is always running in the background.
    For restart/shutdown or similar purpose I want to communicate with this application.
    Is ist possible to start the same application with a args-flag that causes the running server to shutdown.
    I know it's easy possible by doing this via the socket connection.
    Because of security-reasons I want to avoid this. To limit this to the localhost is to insecure.
    Any ideas?

    Ok, I will explain it in detail.
    I don't want to open a new Port for this,
    so it is possible to use the existing open port.
    The idea to limit control sequences to localhost can made by Socket.getInetAdress() (maybe insecure (fake IP)) for the existing port or via Konstruktor of ServerSocket for a new port
    The point is:
    I dont't want to grant access to other users on this machine!
    And I don't want to limit a port for localhost from the system-enviroment via root-possibilities.
    If there is no other possibility, I think I try to use a new Port for this. I just wanted to know if this is the only possibility or are there other easier ways.
    Thanx for helping
    thosta

  • How Can i communicate between two iviews?

    Hi all,
       I am having two iviews.I want to conect those two in two pages.How can i do this?Can any one help me out from this?
    regards
    Sudeep.

    Hi ,
    Try this
    WDPortalNavigation.navigateAbsolute("ROLES:"+iview,WDPortalNavigationMode.SHOW_INPLACE,(String) null, (String) null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,"Param=Paramvalue");
    "ROLES:"+iview=Iview Path
    "Param=Paramvalue"=Parameter and its value
    Youcan receive the value as
    String parmvalue=WDWebContextAdapter.getWebContextAdapter().getRequestParameter("Param");
    Kind Regards
    Mukesh

  • How to communicate between two servlet applications.

    I want to write a program that the system manager can see who is connecting the server.
    the system manager login the server via the browser with applet.
    the applet communicate with servlet .and the servlet work in the server get the customer message such as username ,Ip address etc from other servlet.
    how to realize it .?
    can you give some advice .
    I appreciate you .
    thank you

    Look at, http://forum.java.sun.com/thread.jsp?forum=54&thread=262144

  • Communicate between two tabs

    Hi friends,
    I have a small issue. I am using struts pdk tags to develop portlets. My region has got 2 tabs(say tabX,tabY).And the content of each tab is a pdk portlet. When i click on a image in tabX,how can i display tabY. Pls help me out.
    Rgds,
    Dhananjay.

    We cant do that way since, a tab is not a jsp. but while fwd my response from an action class it should be a jsp. Hope u r clear. If any clarifications ask me.Hi,
    You can do the link pointing to your tab as sandeep said. Pointing means the jsp page will be added into portal page as a portlet after deployment.
    Then as sandeep suggested you can redirect to that portal page which is having the jsp and the tabs.
    Regards,
    Vijay.B

  • How can I communicat​e between two computer via RS 232 port?

    I would like to communicate between two computer in order to servo a motor motion to an acquisition.
    Thank you in advance for your answer an your solutions

    PreScript: I did not rate the above answer!
    Here's a VI I use to test my instruments - if you have it running on both PCs, you should be able to communicate (with the help of a Null modem between them - cross Rx and Tx) - hopefully this will get you started.
    cheers,
    Christopher
    Christopher G. Relf
    Certified LabVIEW Developer
    [email protected]
    International Voicemail & Fax: +61 2 8080 8132
    Australian Voicemail & Fax: (02) 8080 8132
    EULA
    1) This is a private email, and although the views expressed within it may not be purely my own, unless specifically referenced I do not suggest they are necessarily associated with anyone else including, but not limited to, my employer(s).
    2) This email has NOT been scanned for virii - atta
    ched file(s), if any, are provided as is. By copying, detaching and/or opening attached files, you agree to indemnify the sender of such responsibility.
    3) Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed.
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
    Attachments:
    Test_RS-232_Serial_Communications.vi ‏118 KB

Maybe you are looking for

  • Sound recorder/converter for .au format

    I am using jdk1.1 and it seems it only likes .au format for sound files. I couldn't use Sound Forge; saving was disabled. And I got some others in shareware.com. But they were hopeless as well. Most just didn't work. Is there any reliable shareware a

  • Autopayment-Business Area

    Dear All,* I have busines area 001, 002,003.....007 in our company. Copmany opened three bank accounts for busisness area 002 ,  003 and one for other all business area. Company wants at the time of making payment, the invice belong to business area

  • Ipad4 iOS 8 Safari not remembering passwords. Chrome is ok.

    HI after the the upgrade to iOS 8 my iPad 4 Safari no longer remembers passwords and settings for webpages. I have checked the settings for cookies and they are ok. Also Chrome works fine. I reinstalled the iOS but no change. I Checked for which cook

  • HT2638 My Iphoto crashed today while on location. Please help me?

    I have tried all the stuff above but after I click any of the options the program closes. What is the filename of my Iphoto library please - the one I have to back up

  • Strange star schema created by tutorial

    Hi, I have a fresh and clean installation of BI SE1. I followed the steps for the tutorial (those related to OWB and created the data mart). I really don't understand what kind of star schema is the resulting one and I think there might be a bug in O