| | |
JavaFX question
![]() |
Ok so I have a couple questions on JavaFX. I have three javaFX scripts all of which contain their own scene and stage. However, I want a main class or script to decide when to open and when to close the current stage. So for example, the user will be able to chose whether to have the window as a sidebar or as a full on window. How would I do this using the code I have already written. Would I use a java Main method or have a javaFX script that manages all that.
Also I have found that this effect can be achieved by having multiple scenes. However, my scenes are really big and therefore it would be horrible coding to have them all in the same stage and therefore the same javafx script. So is there a way to store the scenes in in javafx scripts and like import them or something?
Sorry but I have no idea how to this. I have searched everywhere and havnt found anything decent.
Many thanks,
jakx12
Also I have found that this effect can be achieved by having multiple scenes. However, my scenes are really big and therefore it would be horrible coding to have them all in the same stage and therefore the same javafx script. So is there a way to store the scenes in in javafx scripts and like import them or something?
Sorry but I have no idea how to this. I have searched everywhere and havnt found anything decent.
Many thanks,
jakx12
Last edited by jakx12; 19 Days Ago at 4:49 pm.
There are 10 types of people in this world, those that understand binary and those that don't :).
![]() |
Similar Threads
- News Story: Sun Makes the Browser the Bad Boy at JavaFX Announcement (Pay-Per-Click Advertising)
- C command-line I/O question (C++)
- News Story: With JavaFX Debut, Sun’s Demo Fizzles (Java)
- Apache Alias Directive... mod_alias question (Linux Servers and Apache)
- Completely new to C++ and have question about using char (C++)
- question on cooling (Cases, Fans and Power Supplies)
- Context-sensitive grammar question :( (Computer Science)
- Welcome PC Mod Kingdom peeps! (Geeks' Lounge)
- Laptop LCD built into a car? (Monitors, Displays and Video Cards)
- Changing Network Configuration (*nix Software)
Other Threads in the Java Forum
- Previous Thread: Fixed Period Encryption
- Next Thread: Single Linked Circular Link List
| Thread Tools | Search this Thread |
911 actionlistener addressbook android api append applet application array arrays automation binary blackberry block bluetooth character chat class client code component consumer csv database desktop developmenthelp eclipse error fractal ftp game givemetehcodez graphics gui html ide image integer j2me j2seprojects japplet java javaarraylist javac javaee javaprojects jni jpanel julia lego linked linux list loops mac map method methods mobile netbeans newbie number objects online oriented panel printf problem program programming project projects properties recursion replaydirector reporting researchinmotion rotatetext rsa scanner se server set singleton sms sort sql string swing test textfields threads time title tree tutorial-sample ubuntu update windows working





