Java GUI 🖼️

  Рет қаралды 138,105

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 5 ай бұрын
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!
@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
@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
@djrkm9281
@djrkm9281 Ай бұрын
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
@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 :)
@rock6766
@rock6766 3 жыл бұрын
very fun very interactive lessons as well as structural knowledge, love it man 👍
@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.
@Sleepmedicine-kz9cw
@Sleepmedicine-kz9cw Жыл бұрын
You are great, these videos are precious. Thank you bro.
@k4nyeeasto199
@k4nyeeasto199 3 жыл бұрын
Honestly thank you so much, my java skill got improved by watching you
@jerryagsunod7053
@jerryagsunod7053 Жыл бұрын
best ever tutorial i've ever watch, thank you Bro Code
@adaofsantos
@adaofsantos 2 жыл бұрын
Nice job, man! I like your tutorials too much. Congratulations for the beautiful job!
@dianamilenaarchilacordoba4632
@dianamilenaarchilacordoba4632 4 ай бұрын
great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much
@paniccookie_
@paniccookie_ 2 жыл бұрын
You are carrying my friend and I in our java comp sci class, THANK YOU!!!
@gemmarosemolina2082
@gemmarosemolina2082 Жыл бұрын
I really like the way your patience of explaining.
@BekirSARIKAYA
@BekirSARIKAYA Жыл бұрын
Thank you Bro for sharing this video.
@sankartechpro
@sankartechpro 4 жыл бұрын
❤️Superb, good explanation, keep it up. 👏👍👌
@simon-elrondir8621
@simon-elrondir8621 Жыл бұрын
Thank you for teaching this to us. The time you put into these videos really shows :)
@pro-ck1qg
@pro-ck1qg 4 ай бұрын
the best tutorial
@bharathpavurala7817
@bharathpavurala7817 2 жыл бұрын
We will support you.... Keep rocking broooo😎
@robertmanigault625
@robertmanigault625 3 жыл бұрын
Another excellent video, Bro. Thanks. BTW, proud subscriber here.
@eugenezuev7349
@eugenezuev7349 8 ай бұрын
splendid
@renecabuhan1675
@renecabuhan1675 3 жыл бұрын
Bro I recommended ur videos to my classmates they like it.
@BroCodez
@BroCodez 3 жыл бұрын
Thank you rene!
@jasonjacobs9174
@jasonjacobs9174 2 жыл бұрын
I am loving this channel.
@ОлександрРадовець-ы6т
@ОлександрРадовець-ы6т 3 жыл бұрын
so very good
@NatyTor
@NatyTor 2 жыл бұрын
man im so like your video!! thanksss
@michaelanteneh2862
@michaelanteneh2862 3 жыл бұрын
dude+just+wooow
@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.
@cnarkaya629
@cnarkaya629 5 ай бұрын
why are you such a chad? Thanks bro!
@Simis999
@Simis999 2 жыл бұрын
Bro is our shining star in the middle of the night
@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
@justinbanza4751
@justinbanza4751 3 жыл бұрын
Thank you for this video
@nethmal1204
@nethmal1204 4 жыл бұрын
Thank you very much brother!This is really helpfull!Keep it up ur good work!Solve my a lot of questions!
@mahadevbansode4113
@mahadevbansode4113 4 жыл бұрын
Bro you are too good .... You are best than my college teachers 💓💗
@Ahmed_Emad_
@Ahmed_Emad_ Жыл бұрын
Thank You for ease the information.
@speklex779
@speklex779 Жыл бұрын
Dope video
@rohitbharatbhandwalkar8583
@rohitbharatbhandwalkar8583 2 жыл бұрын
I thought starting GUI would be boring but guess what, I like this!!!
@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()
@zari_723
@zari_723 2 жыл бұрын
Thanks for another great vid
@anaralizada8884
@anaralizada8884 3 жыл бұрын
You are amazing
@D_Ghandi
@D_Ghandi 5 ай бұрын
Helping you, to keep helping me ⛈
@dryrun4501
@dryrun4501 3 жыл бұрын
Hey you yeah I'm talking to you ! You r the best 🙏❣️
@nourialsayed
@nourialsayed 3 жыл бұрын
RESPECT TO WHAT YOU DO BIG THANK YOU FOR YOU
@enciuraluca3100
@enciuraluca3100 3 жыл бұрын
Thank you sooooo much for all the videos
@kaushalprasadyadav9242
@kaushalprasadyadav9242 2 жыл бұрын
you are great. please make videos for mobile app
@zahramsvi9478
@zahramsvi9478 2 жыл бұрын
Great!
@roger-tj7oc
@roger-tj7oc 3 жыл бұрын
Best account on youtube
@dervisaliduman667
@dervisaliduman667 4 жыл бұрын
Thank you, that was amazing lesson :D
@unalysuf
@unalysuf 2 жыл бұрын
Thank you so much really for your effort
@abdialemu8391
@abdialemu8391 Жыл бұрын
bravo
@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
@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 >:(
@TEGUIAKAMEGNEDimitriAbel
@TEGUIAKAMEGNEDimitriAbel Жыл бұрын
Cool
@Kevin-xs1ft
@Kevin-xs1ft Жыл бұрын
high quality
@prizepig
@prizepig 2 жыл бұрын
This series is great!
@seabass6106
@seabass6106 4 жыл бұрын
Love you Bro, Cheers Bro
@魏子強-z7s
@魏子強-z7s Жыл бұрын
thank you bro my hero
@rede_neural
@rede_neural 2 жыл бұрын
6:26 Why did they put a set method inside a get method?
@shaynazoedeguzman7418
@shaynazoedeguzman7418 2 жыл бұрын
Amazing! Thank you very much sir!
@NikhilYadav-yh9mq
@NikhilYadav-yh9mq 2 жыл бұрын
2 keywords are not working in another class setdefaultcloseoperation and getcontentpane... what to do 10:51
@danny.3036
@danny.3036 3 жыл бұрын
Thanks, Bro! ☕ You're awesome!
@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.
@toemilio
@toemilio 4 ай бұрын
helped me with my cs30 class legend
@mahdib9361
@mahdib9361 4 жыл бұрын
Please Make Tuturial For JAVAFX
@ian6609
@ian6609 2 жыл бұрын
🙉🙉 i really like the brocode did it
@millejadecabrera4544
@millejadecabrera4544 3 жыл бұрын
Thankssss for this one
@sharnav9626
@sharnav9626 2 жыл бұрын
this has helped me a great deal
@kingkock1
@kingkock1 2 жыл бұрын
Bro, amazing x
@trungdao2286
@trungdao2286 3 жыл бұрын
great
@josueortiz8898
@josueortiz8898 2 жыл бұрын
Thanks!
@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!
@cdjosh3568
@cdjosh3568 4 жыл бұрын
Epic video!
@_jantheman
@_jantheman 2 жыл бұрын
*_cool_*
@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
@ravensco7086
@ravensco7086 Жыл бұрын
Thank you bro!
@amalbenmoussa4760
@amalbenmoussa4760 7 ай бұрын
thks
@ibrahimylmaz8378
@ibrahimylmaz8378 2 жыл бұрын
thanks bro
@christophercanada8642
@christophercanada8642 2 жыл бұрын
Thank You
@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!
@minhtetpaing1695
@minhtetpaing1695 3 жыл бұрын
Thank you so much sir.
@phanikiran9826
@phanikiran9826 2 жыл бұрын
no way, it can't be this easy.. no way
@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?
@manuelgonzalezpalafox2627
@manuelgonzalezpalafox2627 2 жыл бұрын
Ly Bro 1
@BISAMARKSMANDOANG
@BISAMARKSMANDOANG 2 жыл бұрын
GG
@touriaamachrak1279
@touriaamachrak1279 Жыл бұрын
THANKS
@sliky7317
@sliky7317 2 жыл бұрын
I'm assuming you can't do this with an online java compiler
@bananogamer6972
@bananogamer6972 5 ай бұрын
I have a problem here, when i put a specific height and width for some reason the window opened is smaller
@PoorwayTraning
@PoorwayTraning Жыл бұрын
thanks
@majid1885
@majid1885 3 жыл бұрын
Thanks man
@kazuki32_z75
@kazuki32_z75 Ай бұрын
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
@tmro5356
@tmro5356 2 жыл бұрын
Thanks Bro!
@augischadiegils.5109
@augischadiegils.5109 4 жыл бұрын
Thanks
@mkhamis90
@mkhamis90 3 жыл бұрын
thank you
@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??☹
@Google_Engineer
@Google_Engineer 3 жыл бұрын
😘😘😘😘
@francismarkbaguion2979
@francismarkbaguion2979 3 жыл бұрын
I encountered some problem, mine does not produce any window instead only say... "Exception in thread "main" java.lang.UnsatisfiedLinkError: no awt in system library path:" and so on, Any way to fix this? Thank you.
Java labels 👨‍💻
18:00
Bro Code
Рет қаралды 103 М.
Java GUI Tutorial - Make a Login GUI #100
19:49
Alex Lee
Рет қаралды 566 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Java generics ❓
22:04
Bro Code
Рет қаралды 122 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Java buttons 🛎️
14:28
Bro Code
Рет қаралды 178 М.
JFrame | Java Swing Tutorial for Beginners
13:02
Java Code Junkie
Рет қаралды 70 М.
Java GUI: Full Course ☕ (FREE)
4:48:33
Bro Code
Рет қаралды 2,1 МЛН
Java GUI Tutorial - Make a GUI in 13 Minutes #99
12:58
Alex Lee
Рет қаралды 1,3 МЛН