Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

scene window resize problem

3da11222-766b-4d2b-9895-ca69698a8b30Apr 17 2017 — edited Apr 19 2017

i am a beginner and my first javafx program from the already given code.   i want to resize the scene window with following command

Scene scene = new Scene(root, 300, 100);

no matter what numbers i enter i always get full screen.   i am using netbeans.  please tell me how can i resize the start scene window?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2017
Added on Apr 17 2017
5 comments
489 views