A twenty yr old ”student” here, studies start in January. I first learned Html, css and js and now Java. I type fast, so I love the ”lengthy” style of Java and overall it seems really flexible and great! I am going to go through the entire Java Documentation, but first I thought I would learn Swing. Thanks to you!
@8rboy2 жыл бұрын
Probably the best Swing tutorial I've ever seen. Thanks a lot man
@andysegura62543 жыл бұрын
I was looking for videos as detailed as these, thank you!
@JavaCodeJunkie3 жыл бұрын
@Andy Segura - You are welcome! I am glad you find them useful!
@JavaCodeJunkie4 жыл бұрын
Here is the latest video in my Java Swing series. Like, comment and subscribe and, as always, take care and keep on coding!
@nskaries7 ай бұрын
The best swing tutorial ever!!!
@saadshoaieb224110 ай бұрын
best Swing tutorial I've ever seen. Thanks a lot
@Sam-Gazer2 жыл бұрын
Thank you that's so helpful, your way of explaining is so good, your voice as well is calm and clear 👍.
@JavaCodeJunkie2 жыл бұрын
@SamGazer - Thank you very much for the kind words! 🙏 I am happy that you found the videos helpful! Cheers!
@Sam-Gazer2 жыл бұрын
@@JavaCodeJunkie Thank you for your concern and reply, keep up the hard work !
@anthonygrear62263 жыл бұрын
Great content. You explain concepts very well.
@JavaCodeJunkie3 жыл бұрын
@Anthony Grear - Thank you! I appreciate your kind words! 🙏 Cheers!
@tay2612 жыл бұрын
Thank you for a very clear and concise explanation.
@JavaCodeJunkie2 жыл бұрын
@tay261 - You're welcome! Glad it helped! Cheers!
@guymann2226 ай бұрын
Great tutorial! I was wondering about what you said at 8:16, that we shouldn't expose the methods to the 'outside world.' Why is this a bad thing?
@randomcommentor2 жыл бұрын
10:21 Why "this.frame."? Why not just "frame"? The initialize() function is tied to the JFrameTwo object, and thusly you don't need to declare which object "frame" belongs to. You set the frame to "new JFrame" in the first line of the function too. Isn't "this." completely unnecessary?
@JavaCodeJunkie2 жыл бұрын
@Random Commentor - Strictly speaking, in this instance, the keyword this is not necessary. The most common use of the this keyword is to eliminate the confusion between class attributes and parameters with the same name. Cheers!
@alexop59193 жыл бұрын
this composition method is so cool!
@JavaCodeJunkie3 жыл бұрын
@Alex Op - It really is! This will be a big step in learning Java OOP when you get your head around the concept! Cheers!
@alaaitanii6 ай бұрын
Thank you so much for the detailed tutorial
@aRandomNumberАй бұрын
This makes a lot of sense, but there is just one thing that I don’t understand: why should you have to create separate classes for different JFrames? Couldn’t I just write a function that, based on its parameters, returns a new JFrame?
@branmoxley8 ай бұрын
Excellent tutorial, thank you!
@royalsgaming033 жыл бұрын
Thanks you love from india❤️❤️❤️❤️❤️
@JavaCodeJunkie3 жыл бұрын
@ROYAL'S GAMING - You are very welcome! (from Canada) 🙏
@aidanknox24302 жыл бұрын
Thanks for the refresher!
@fvgm Жыл бұрын
Thank you to this valuable content. Great.
@davidsalomon7417 Жыл бұрын
I think I'm lost on how you made the initialize method private, the third video doesn't mention it, do you have the source code?
@SajjadHussain-yy9xo Жыл бұрын
Good word dear..
@kavishkamadhudhan19433 жыл бұрын
Great content. Thank you..
@JavaCodeJunkie3 жыл бұрын
@Kavishka Madhudhan - Thank you for the kind words! Glad you liked it!
@johnkimotho39064 жыл бұрын
nice one. thanks
@JavaCodeJunkie4 жыл бұрын
Thank you! Appreciate the encouragement! Cheers!
@fatihozev13182 жыл бұрын
nice video
@JavaCodeJunkie2 жыл бұрын
@Fatih Özev - Thanks for the visit! Cheers!
@jefferyjohnson26123 жыл бұрын
This is so cool.
@JavaCodeJunkie3 жыл бұрын
@Jeffrey Johnson - Swing or composition vs inheritance?
@jefferyjohnson26123 жыл бұрын
@@JavaCodeJunkie If you say that the composition method is best practice, then that is where I would focus long term for sure. To be entirely honest though, at this point (nooby), I don't really know or understand why it is the best practice method.
@JavaCodeJunkie3 жыл бұрын
@Jeffrey Johnson - It is more a general rule of thumb that you should favour composition over inheritance. In the majority of cases, especially when it comes to UI widgets, there is no good reason to extend a class (inheritance) unless you are adding additional functionality. By using composition, you can accomplish the same thing without exposing a plethora of methods as part of your public API.