How to Set Full Screen and Scale/Resize Objects - Java Extra 28

preview_player
Показать описание
In this video I will explain how to set full screen mode and scale/resize the objects on the window to the new screen size.

Since I couldn't find enough info about this I had to hustle my meager brain and figure out a way myself. Not sure if this is the best way but at least it's working.

That said if you know a better way, I'd love to know so please let me know!!

Java Extra Playlist:

#programming #gamedev #java #JavaGUI #JavaSwing
Рекомендации по теме
Комментарии
Автор

you're like the best youtuber ever, i love how you explain everything in detail and making everything look simple!
Thank you very much and keep it up!

kirilgeorgiev
Автор

Amazing tutorials helped me with my first game

captaincrunch
Автор

As always, the best tutorial on youtube. Let's make you more famous than T-series and Pewdiepie.

Matshiro
Автор

Thanks random programming dude on youtube :)

PurplePotatoBro
Автор

Okay, i got the same idea to do so but, what if e.g. i got more windows, but not frames, only jpanels and then i just use pack(), and later i got to change all of panels and its contents when i click the button to change resolution, so it would actually be very complex, isnt there maybe a some better way to do so?

spre
Автор

I sir...i developed a project in netbean..and my screen resolution is 1366*768 but the same project i want to run in 1920*1080 . Resolution so any solution? Please gave me solution that my project became responsive !

ManishSharma-hqph
Автор

When clicking start, the game goes fullscreen but the contents doesnt?

Fang
Автор

Pleaee I Need help in Java Fx, how to scale my school project... It's looks very ugly on other computer.. Can you help me, how do I contact you... This is urgent

emmanuelnyamaahfrimpong
Автор

For those of you using netbeans GUI builder, you need to put this in the public GUI() method (this took my hours to find out, your welcome):
GraphicsEnvironment graphics =
GraphicsDevice device =
initComponents();

Kodoma
visit shbcf.ru