Java GUI 🖼️

  Рет қаралды 136,388

Bro Code

Bro Code

Күн бұрын

Пікірлер: 179
@BroCodez
@BroCodez 4 жыл бұрын
import java.awt.Color; import javax.swing.ImageIcon; import javax.swing.JFrame; public class Main { public static void main(String[] args) { // JFrame = a GUI window to add components to JFrame frame = new JFrame(); //creates a frame frame.setTitle("JFrame title goes here"); //sets title of frame frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //exit from application frame.setResizable(false); //prevent frame from being resized frame.setSize(420,420); //sets the x-dimension, and y-dimension of frame frame.setVisible(true); //make frame visible ImageIcon image = new ImageIcon("logo.png"); //create an ImageIcon frame.setIconImage(image.getImage()); //change icon of frame frame.getContentPane().setBackground(new Color(0x123456)); //change color of background } }
@ebrimadrammeh
@ebrimadrammeh 4 ай бұрын
Well understand, thank you so much
@phuongdonguyen6327
@phuongdonguyen6327 Жыл бұрын
Best java tutorial playlist on KZbin, I want to thank for what you've done, keep up good work!
@kemann3815
@kemann3815 3 жыл бұрын
Man, i wish everyone whos lookin to learn lava finds this channel! Its just absolutely the best!
@sudharshan_reddy_kakarla
@sudharshan_reddy_kakarla 3 жыл бұрын
It's Java . 😂.lava
@kemann3815
@kemann3815 3 жыл бұрын
@@sudharshan_reddy_kakarla the funny thing is that i was looking at your comment trying to figure out if it was a java refrence or not, then i noticed my typo lmao Yea i would import and use the "java.😂.lava" class in my code too lol
@tngflash2814
@tngflash2814 3 жыл бұрын
"Let's set the size by 420 to 420 because that's a funny number." LMAO. This had me laffin.
@pavelkvasnicka6856
@pavelkvasnicka6856 Жыл бұрын
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
@djrkm9281
@djrkm9281 13 күн бұрын
You're doing gods work by creating Java FX / GUI vids cuz my stupid uni wants us to learn this and I didnt understand shit in the lectures but I found this. Thx
@KaviBalan007
@KaviBalan007 4 ай бұрын
I am really glad that I find your youtube channel. You are saviour man
@rock6766
@rock6766 3 жыл бұрын
very fun very interactive lessons as well as structural knowledge, love it man 👍
@gemmarosemolina2082
@gemmarosemolina2082 Жыл бұрын
I really like the way your patience of explaining.
@shankar7435
@shankar7435 2 жыл бұрын
Never got this idea of using subclass of JFrame instead of repeating the same code several times in different projects. Thanks Bro.
@paniccookie_
@paniccookie_ 2 жыл бұрын
You are carrying my friend and I in our java comp sci class, THANK YOU!!!
@BekirSARIKAYA
@BekirSARIKAYA Жыл бұрын
Thank you Bro for sharing this video.
@k4nyeeasto199
@k4nyeeasto199 3 жыл бұрын
Honestly thank you so much, my java skill got improved by watching you
@Sleepmedicine-kz9cw
@Sleepmedicine-kz9cw Жыл бұрын
You are great, these videos are precious. Thank you bro.
@jerryagsunod7053
@jerryagsunod7053 Жыл бұрын
best ever tutorial i've ever watch, thank you Bro Code
@sankartechpro
@sankartechpro 4 жыл бұрын
❤️Superb, good explanation, keep it up. 👏👍👌
@bharathpavurala7817
@bharathpavurala7817 2 жыл бұрын
We will support you.... Keep rocking broooo😎
@renecabuhan1675
@renecabuhan1675 3 жыл бұрын
Bro I recommended ur videos to my classmates they like it.
@BroCodez
@BroCodez 3 жыл бұрын
Thank you rene!
@bitks7375
@bitks7375 3 жыл бұрын
Bro keep this up, i really like your way of explaining everything. I just began to code, your videos will guarantee me a job in the future :)
@adaofsantos
@adaofsantos 2 жыл бұрын
Nice job, man! I like your tutorials too much. Congratulations for the beautiful job!
@jasonjacobs9174
@jasonjacobs9174 2 жыл бұрын
I am loving this channel.
@dianamilenaarchilacordoba4632
@dianamilenaarchilacordoba4632 3 ай бұрын
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
@cnarkaya629
@cnarkaya629 4 ай бұрын
why are you such a chad? Thanks bro!
@robertmanigault625
@robertmanigault625 3 жыл бұрын
Another excellent video, Bro. Thanks. BTW, proud subscriber here.
@NatyTor
@NatyTor 2 жыл бұрын
man im so like your video!! thanksss
@Simis999
@Simis999 2 жыл бұрын
Bro is our shining star in the middle of the night
@smrtfasizmu6161
@smrtfasizmu6161 3 жыл бұрын
This is also a nice way to understand the keyword this. Keyword this basically just pretends to be an instance of the class in which you are in.
@D_Ghandi
@D_Ghandi 5 ай бұрын
Helping you, to keep helping me ⛈
@Ahmed_Emad_
@Ahmed_Emad_ Жыл бұрын
Thank You for ease the information.
@mahdib9361
@mahdib9361 4 жыл бұрын
Please Make Tuturial For JAVAFX
@rohitbharatbhandwalkar8583
@rohitbharatbhandwalkar8583 2 жыл бұрын
I thought starting GUI would be boring but guess what, I like this!!!
@kaushalprasadyadav9242
@kaushalprasadyadav9242 2 жыл бұрын
you are great. please make videos for mobile app
@pro-ck1qg
@pro-ck1qg 3 ай бұрын
the best tutorial
@jasonemmettmyers
@jasonemmettmyers Ай бұрын
at 10:49, I have it exactly as you have it, and I get an error, indicating that there should be a semi-colon after MyFrame()
@toemilio
@toemilio 3 ай бұрын
helped me with my cs30 class legend
@dryrun4501
@dryrun4501 3 жыл бұрын
Hey you yeah I'm talking to you ! You r the best 🙏❣️
@zari_723
@zari_723 2 жыл бұрын
Thanks for another great vid
@enciuraluca3100
@enciuraluca3100 3 жыл бұрын
Thank you sooooo much for all the videos
@justinbanza4751
@justinbanza4751 3 жыл бұрын
Thank you for this video
@simon-elrondir8621
@simon-elrondir8621 Жыл бұрын
Thank you for teaching this to us. The time you put into these videos really shows :)
@ian6609
@ian6609 2 жыл бұрын
🙉🙉 i really like the brocode did it
@mahadevbansode4113
@mahadevbansode4113 4 жыл бұрын
Bro you are too good .... You are best than my college teachers 💓💗
@speklex779
@speklex779 Жыл бұрын
Dope video
@eugenezuev7349
@eugenezuev7349 7 ай бұрын
splendid
@michaelanteneh2862
@michaelanteneh2862 3 жыл бұрын
dude+just+wooow
@rede_neural
@rede_neural 2 жыл бұрын
6:26 Why did they put a set method inside a get method?
@nourialsayed
@nourialsayed 3 жыл бұрын
RESPECT TO WHAT YOU DO BIG THANK YOU FOR YOU
@unalysuf
@unalysuf Жыл бұрын
Thank you so much really for your effort
@JLSXMK8
@JLSXMK8 2 жыл бұрын
That "Twitch Purple" is actually 0x7B3296 in Hexadecimal, if anybody was curious as to the hex equivalent.
@BroCodez
@BroCodez 2 жыл бұрын
nice!
@JLSXMK8
@JLSXMK8 2 жыл бұрын
@@BroCodez I wonder if you can do this same type of tutorial series for C# / .NET; Now, I won't be able to utilize .NET6 (i.e., the latest available standard of the .NET framework) for quite some time, but as far as .NET 5 goes, that will be totally applicable.
@anaralizada8884
@anaralizada8884 2 жыл бұрын
You are amazing
@harryrardy
@harryrardy 3 жыл бұрын
awesome content actually, and it helped me a lot cause i wasn't finding any place to study it easily ty bro
@魏子強-z7s
@魏子強-z7s Жыл бұрын
thank you bro my hero
@dervisaliduman667
@dervisaliduman667 3 жыл бұрын
Thank you, that was amazing lesson :D
@danny.3036
@danny.3036 3 жыл бұрын
Thanks, Bro! ☕ You're awesome!
@ОлександрРадовець-ы6т
@ОлександрРадовець-ы6т 3 жыл бұрын
so very good
@NikhilYadav-yh9mq
@NikhilYadav-yh9mq 2 жыл бұрын
2 keywords are not working in another class setdefaultcloseoperation and getcontentpane... what to do 10:51
@nethmal1204
@nethmal1204 4 жыл бұрын
Thank you very much brother!This is really helpfull!Keep it up ur good work!Solve my a lot of questions!
@shaynazoedeguzman7418
@shaynazoedeguzman7418 2 жыл бұрын
Amazing! Thank you very much sir!
@sharnav9626
@sharnav9626 2 жыл бұрын
this has helped me a great deal
@roger-tj7oc
@roger-tj7oc 3 жыл бұрын
Best account on youtube
@prizepig
@prizepig 2 жыл бұрын
This series is great!
@phanikiran9826
@phanikiran9826 2 жыл бұрын
no way, it can't be this easy.. no way
@bbabak4439
@bbabak4439 3 жыл бұрын
I have a problem, my eclipse doesn't suggest component class methods (that is usable to other objects) like .setSize(), .setVisible(), and much more. How do i fix this? i really don't want to use intelliJ :(
@HelicopterRidesForCommunists
@HelicopterRidesForCommunists 9 ай бұрын
Isn’t it awesome that we can simply ask AI our questions now and get immediate tailored personalized answers? I still find it miraculous. To answer yours: I cant say with 100% certainty, but it might be something that needs enabled in settings/preferences… although hopefully by 2 years youve long since found the solution lol
@HelicopterRidesForCommunists
@HelicopterRidesForCommunists 9 ай бұрын
Becareful what you choose to highlight when you apply that change to your targeted word. Make sure you dont have any place where it should stay the same highlighted. Good tip tho!
@malikshahzaib3313
@malikshahzaib3313 4 жыл бұрын
Thanks bro code!!! Keep it up. I'm actually going to look forward to you.☺🍫
@geovex8333
@geovex8333 Жыл бұрын
This is really epic! hahah
@jjbigelow4522
@jjbigelow4522 Жыл бұрын
I dont think so
@geovex8333
@geovex8333 Жыл бұрын
@@jjbigelow4522 you obviously are a little beta programmer who sits in his moms basement all day punching away at the keys. BRO CODE IS EPIC >:(
@millejadecabrera4544
@millejadecabrera4544 3 жыл бұрын
Thankssss for this one
@ottttoooo
@ottttoooo 3 жыл бұрын
this feels like HTML/CSS coding
@ravensco7086
@ravensco7086 Жыл бұрын
Thank you bro!
@sliky7317
@sliky7317 2 жыл бұрын
I'm assuming you can't do this with an online java compiler
@TEGUIAKAMEGNEDimitriAbel
@TEGUIAKAMEGNEDimitriAbel Жыл бұрын
Cool
@Kevin-xs1ft
@Kevin-xs1ft Жыл бұрын
high quality
@zahramsvi9478
@zahramsvi9478 2 жыл бұрын
Great!
@seabass6106
@seabass6106 4 жыл бұрын
Love you Bro, Cheers Bro
@abdialemu8391
@abdialemu8391 Жыл бұрын
bravo
@PJ-od9ev
@PJ-od9ev 3 жыл бұрын
i have a question bro how do you know which method to use for example setIconImage(). how to know where and which method i should use??
@nonnodacciaio704
@nonnodacciaio704 2 жыл бұрын
Google it
@kingkock1
@kingkock1 2 жыл бұрын
Bro, amazing x
@christophercanada8642
@christophercanada8642 2 жыл бұрын
Thank You
@minhtetpaing1695
@minhtetpaing1695 3 жыл бұрын
Thank you so much sir.
@daltonsilverman1974
@daltonsilverman1974 4 жыл бұрын
Hey, I'm just learning coding but I saw your reply to someone else. Is learning Swing a waste of time now that it's becoming outdated? Should I focus my time on learning JavaFX instead? Java is my first language.
@mrmarzan6668
@mrmarzan6668 8 ай бұрын
Thanks G!
@kazuki32_z75
@kazuki32_z75 10 күн бұрын
Hey Bro, i have some personal questions and if you don't mind... i would love to ask and learn something on my pace. thank you in advance
@ahlesunnat12
@ahlesunnat12 4 жыл бұрын
Can you help me with GridBagLayout?
@ibrahimylmaz8378
@ibrahimylmaz8378 2 жыл бұрын
thanks bro
@Elias___
@Elias___ 11 ай бұрын
I will never call G.U. I. As GOO WEE
@_jantheman
@_jantheman 2 жыл бұрын
*_cool_*
@trungdao2286
@trungdao2286 3 жыл бұрын
great
@mullim9860
@mullim9860 2 жыл бұрын
Hello Bro, I hope you are doing well
@bananogamer6972
@bananogamer6972 4 ай бұрын
I have a problem here, when i put a specific height and width for some reason the window opened is smaller
@josueortiz8898
@josueortiz8898 2 жыл бұрын
Thanks!
@nilsnickname4455
@nilsnickname4455 2 жыл бұрын
Does anyone know why there is no logo when I copy the exact code above and also put a 16x16 png file named logo.png in the src-folder??☹
@cdjosh3568
@cdjosh3568 4 жыл бұрын
Epic video!
@borislove4700
@borislove4700 3 жыл бұрын
thanks! this.setLocationRelativeTo(null); //center frame
@tmro5356
@tmro5356 2 жыл бұрын
Thanks Bro!
@touriaamachrak1279
@touriaamachrak1279 Жыл бұрын
THANKS
@YTSHANKY
@YTSHANKY 4 жыл бұрын
Hey bro i am 15 yrs old and i have learned.. c, c#, html, css, java script. ..and i have watched most of your java videos.. but I am not quiet comfortable with java.. i dont feel that i have understand and ready to build app in java.. but i have created.. 3 games with c# and unity.. do you have some solutions?
@BroCodez
@BroCodez 4 жыл бұрын
My opinion is that, Java FX is better for developing applications than Swing, that would be a good next step for you
@YTSHANKY
@YTSHANKY 4 жыл бұрын
@@BroCodez thanks for your suggestion
@nethminaashen6201
@nethminaashen6201 2 ай бұрын
Are you doing well 👀❤
@nethminaashen6201
@nethminaashen6201 2 ай бұрын
​@@YTSHANKYare you doing well ❤
@YTSHANKY
@YTSHANKY 2 ай бұрын
@@nethminaashen6201 yup doing good, currently doing bachelor's in computer science
@PoorwayTraning
@PoorwayTraning Жыл бұрын
thanks
@amalbenmoussa4760
@amalbenmoussa4760 7 ай бұрын
thks
@rishav-parasar
@rishav-parasar Жыл бұрын
the icon is not working in intellij idea , please suggest something
@prajwaldeepkhokhar7416
@prajwaldeepkhokhar7416 3 жыл бұрын
hey bro, at the very end when we created the instance of myframe in main, if we wish to change or add some extra jframe property to the frame, can we do that from main itself or we have to go back to myframe class?
Java labels 👨‍💻
18:00
Bro Code
Рет қаралды 102 М.
Java lambda λ
18:00
Bro Code
Рет қаралды 100 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Java login system 👨‍💻
30:36
Bro Code
Рет қаралды 332 М.
Java generics ❓
22:04
Bro Code
Рет қаралды 120 М.
7 Design Patterns EVERY Developer Should Know
23:09
ForrestKnight
Рет қаралды 162 М.
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 875 М.
Java GUI: Full Course ☕ (FREE)
4:48:33
Bro Code
Рет қаралды 2,1 МЛН
BEST WAY to make Desktop Applications in C++
26:00
The Cherno
Рет қаралды 946 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
Java GUI Tutorial - Make a Login GUI #100
19:49
Alex Lee
Рет қаралды 565 М.
Java calculator app 🖩
34:36
Bro Code
Рет қаралды 461 М.
How I'd learn ML in 2025 (if I could start over)
16:24
Boris Meinardus
Рет қаралды 23 М.