How to make a game in Java using Eclipse Part#3 [2021]: Buttons, Border Layout, Multi Threading

preview_player
Показать описание
In this series we learn how to make a simple game in Java. We learn how to add or implement Border Layout in Java JFrame/JPanel to create a menu level in Java. We will go over how to add buttons in a JFrame and wrap it up by learning to use Runnable class and touch upon multi threading in this video!
Content:
➤ HOW TO IMPLEMENT BORDER LAYOUT IN JAVA
➤ HOW TO ADD BUTTONS IN JAVA
➤ HOW TO ADD BUTTONS TO BORDER LAYOUT IN JAVA
➤ HOW TO DO EVENT HANDLING IN JAVA
➤ HOW TO SET BORDER LAYOUT TO A JFRAME
➤ HOW TO ADD ACTION LISTENER TO A BUTTON IN JAVA
➤ HOW TO USE RUNNABLE CLASS IN JAVA: MULTI THREADING

So in this session we are going to be finishing off our menu screen. In the process you will be learning about how to add border layout in Java. You will be implementing a Border Layout on a JFrame using its default Content Pane. In this video you will also be using Multi threading by implementing Runnable class using its invoke later function.

Assets:

Java Doc for BorderLayout:

#learncodingfromscratch #java #gamedev

If you guys like the video please subscribe to my channel. Also if you want to follow me instagram:
You can also add me on discord:
xXProG4am3rLeg!tXx#6369

About Myself:
Hi I am Muin. I have been fascinated with game development ever since I started learning about the idea of coding. Back when I was graduating high school my uncle introduced this idea of computer programming to me and my coding journey started!
I started making youtube videos from the moment I started making projects. My previous channel had a lot more videos but it got shut down for reasons I still don't know. My inspiration behind making videos is mainly the fact that I struggled to find resources when I started learning coding. My initial videos were not of any great quality but my passion for helping others was always present.
Midway through my uni life in Bangladesh I moved to Sydney to study Game Dev at Macquarie University. I learnt a lot of cool stuff in my degree which I intent on sharing with my youtube family of subscribers.
I have been working at Code camp in Sydney as the lead game dev for over 4 years now. I started this job from my first semester here Sydney. If you want to be part of my family do subscribe to my channel and comment on the videos for any content request!

About Learn Coding From Scratch:

Thanks for the awesome background music. If you want to check the music out follow the link below
Рекомендации по теме
Комментарии
Автор

Hey 👋
To all the people watching this video my laptop got bricked. I placed in an order for a desktop right away (finally!)
As we are just coming out of lockdowns everything is still really slow and it might be couple of weeks before I get my new pc.
Really sorry about this.

Also huge thanks to all the people subscribing from this video! Means a lot to me :)

LearnCodingFromScratch
Автор

Its really helps to Where's the part 4??

RexmondSavadera
Автор

It's sad to see this never got finished. You were one of the only videos I found, granted the first video, that was using eclipse to make a java game. I learned a lot though at least about getting the windows to pop up and adding buttoms/images to the screen.

connorallgood
Автор

hello, great videos. Is part 4 somewhere?

jacobbennett
Автор

Hi,
Was a part four ever made? Thank you!

gambinotech
Автор

amazing video, one problem is that the menu_1.png in your google drive. other than that, great video

medster