berry120

United Kingdom

berry120.blogspot.com

Age: 26

I'm an avid programmer, enjoy creating things, enjoy a good puzzle and especially enjoy foxing people with a Java puzzle now and again!

Outside of my coding life, I have a number of other interests, including outdoors activities such as hiking / geocaching / letterboxing. I'm also fond of music - I enjoy listening to it as well as playing the piano and violin.

Aug
29
comment JavaFX - How to create many windows from your main method?
The class that has your start() method in must extend Application, yes - but from that method, you can call whatever other class you like to create the rest of your logic (and that class of course won't have to extend Application.) The start() method has to be the entry point for the application - but you certainly don't have to (and shouldn't) put all the code for your application logic in that method alone!
Aug
29
comment JavaFX - How to create many windows from your main method?
@alwaysboots As I said, you shouldn't use the main() method in a JavaFX application for anything other than calling Application.launch, since you have no guarantees it will ever be executed (hopefully it won't if the app is launched properly!) Likewise you should never put that line anywhere other than the main method, otherwise of course you will enter an infinite loop. So yes, you should (must) use the start() method and the start() method only to begin your application logic.
Aug
29
comment JavaFX - How to create many windows from your main method?
@alwaysboots Can't you just call stage.show() in a separate method of your choice rather than right away?
Aug
29
answered JavaFX - How to create many windows from your main method?
Aug
27
awarded Popular Question
Aug
25
awarded Nice Answer
Aug
25
answered When will a rattlesnake strike?
Aug
22
awarded equipment
Aug
21
awarded Notable Question
Aug
18
awarded Nice Question
Aug
14
awarded Good Question
Aug
13
awarded Famous Question
Aug
10
awarded Good Answer
Aug
9
awarded Autobiographer
Aug
9
comment JavaFX Windows 10 ComboBox error
Relevant JDK bug from deleted answer: bugs.openjdk.java.net/browse/JDK-8132897
Aug
9
asked Stuck with "observer ban" - how do I get out?
Aug
9
comment Why does AM have sidebands?
@AxelH. Yes, exactly :) And you can just send the carrier wave, but then by definition it wouldn't change (a carrier wave has a constant amplitude) so no data would be transferred.
Aug
8
awarded Teacher
Aug
8
comment What privileges do I gain with each addition step of the license (in the UK?)
A few extras I know of now (but didn't at the time of asking) - the intermediate license also lets you design and build your own radio circuits (foundation you can just build kits), and the advanced also gives you permission to supervise non-license holders using your callsign for training purposes :)
Aug
8
answered Why does AM have sidebands?
1 2 3 4 5