Create JFrame + JPanel + button: SWING/GUI in Java TUTORIAL/HELP NO visual editor

preview_player
Показать описание
Watch in HD for clearer quality!

This video helps to explain Swing in Java. In this video, I explain how to create the frame and create labels and buttons in a panel inside the frame. Learn how to create the frame, panel and objects without a visual editor such as NetBeans!

Remember: Create the frame then create the panel. Place the panel in the frame. Then, every object (label, button, etc) goes inside the panel.

I used Eclipse to make this video. Download Eclipse here:


You can use any other software to program in Java such as Dr. Java or Netbeans.

In the next video, I will explain action listeners and I will show you how to arrange the objects onto the frame properly like you want.

Soon, I will get into making shapes and doing 2-D graphics in Java. Hopefully, even get into some 3-D graphics, if i can. Stay tuned



SWING/GUI in Java Help, TUTORIAL WITHOUT VE- Creating JFrame + JPanel + objects
Рекомендации по теме
Комментарии
Автор

why can't all swing tutorials be this clear? It makes so much more sense now.

vmmlh
Автор

I am going to school for Information Technology and Networking with a focus on web development, and sometimes books just don't get through to the reader (like myself), so videos like this helps to bring information together, and also saves so much time from having to go back over already read information.

I love your video and you explain things very well, keep of the good work.

madcitizen
Автор

thanks a lot .... i'm learning java at school it's quite difficult there but i understood this on the first go. keep it up

ProfesorJoe
Автор

i am doing a GUI project for my uni course...this helped me alot THANX

ixy
Автор

One of the greatest books to read if this is too advanced for ppl are the Deitel and Deitel Books. I believe they have set a precedence using the best standards in how to begin learning an Object Oriented Programming Language. I used to program in C++ and still prefer it sometimes, but Java is a powerful high level programming language as well that has become the language of choice for most Software Engineers.

wildboy
Автор

A Button... Panel... Stay tuned.... Love it, i laughed i learned

TheAcidisTurningOnMe
Автор

MAN I own you my semesterrrr!!!!
Thanks so much!

Maurosuarez_
Автор

Man, this tutorial helped me alot, really.
keep going dude.

janverm
Автор

thanx a lot...u helped me a lot...keep up the good work !!!!

ixy
Автор

extremely helpful! keep up the good work

hstandshooligan
Автор

Thx a lot that really help me get started:)

DanielGirardBolduc
Автор

"Alright, so today I'll be showing you some basic swing in java... WOO-GOOWEE"
dafuq?

BlackFiredDragon
Автор

Thanks for this tutorial, it was amazing help!

Justinwa
Автор

Awesome video!!!
Thanks for making it!!! :)

5 stars!!!

claritybluee
Автор

jay BUTTON BUTTON equals new jay BUTTON
XD
Anyway great tutorial bro thanks a lot

Trielectify
Автор

@andrepowns Make sure you're running it as a Java Application.

NyctitropistXR
Автор

i noticed that even on commenting the command :

;

the window can be closed with the help of the 'X' button at the the top right corner without any trouble...why did you add this statement?

vineetkaushik
Автор

@awesumkid99

It would allow you to add only one label whichever is your latest. Thus your method would only help if there is one label you are using.

AbhishekShah
Автор

Cool. One point, no North Americans call the ( ) brackets, we would always say "parentheses". We use the word brackets to mean "square brackets" like for array indices: [ ]. Cool tutorial though.

jvsnyc
Автор

Just a shout out to people using NetBeans. You have to add the swing application framework library to your project.

nuxbyte