To anyone wondering what the background music is: 0:00 - 2:24: Third Time - Jingle Punks czcams.com/video/tJzg8pzALiw/video.html 2:24 - 13:53 Jincheng Zhang - Culture I L czcams.com/video/Mlfzmk5sgik/video.html
Thanks for this tutorial. I am following along using Eclipse IDE to formulate my own version of this calculator. There are a few differences, but over all this is great. Thanks!
very useful video sir, it"s so useful and understanding easily because you explained everything by writing (and not uttering by mouth, so it becomes very much clear and no confusion), thanks sir. Please make more Videos on java Cance
It's quite easy to code for a calculator if program it in java, not only I developed many apps like calculator but others like railway ticket generator, library manager using arrays : and many other programs like hotel book like Trivago but Trivago is a complex app we have to use java script btw I read in 10 class in ICSE so am lil profound in programming
you can use substring method for backspace button ) //backspace button code String s=txtField.getText(); textField.setText(s.substring(0, s.length()-1));
You will create a program that can perform multi task witch can Create, Read, Update and Delete. The very basic example is a calculator.. In other words your about to create a calculator using java.
ok so this probably isnt the best way of making a ui calc in java. You could use an array of buttons (numbers, operations, ect) and use a for loop to access them. ex: private JButton[] numbers; numbers = new JButton[10]; for (int i = 0; i < 10; i++) { numbers[i].setText(i); }
Everything is fine and good! But, you mentioned that any IDE if fine but the logic would be the same. What if I use Notepad or Geany, and compile my code manually using CMD or terminal(in Linux-based Operating Systems)? You used Designer mode in Netbeans IDE and clearly you are telling that it is a Swing-based application. Don't you think anything designed using designer mode is taken as JavaFX functions? Please note that JavaFX is "completely" different from Swing-based applications.
I am currently working on developing the logic so that it actually works as a calculator. I will update you when its done and upload my project on github. I am almost done with it and it will atmost take me 3 days to complete the project.
I made a program (not an app) ( i'm a noob) it's subtracts, adds, multiplies, divides, finds square root and calculates percentage. But there's a downside if you want to add/subtract/divide/multiply less than 10 numbers, you'd have to input others as 0. I can copy paste the program if you want me to
Just save a temporary number and operator, when the second number is pressed and then the operator you have to operate what is on temporary plus de second number
jTextField1.setText(""); this command must have to be written before disable() in OFF button command. otherwise un deleted numbers appears on the screen after off
New to coding so this is probably a noob question but, I am using window builder for eclipse and am having trouble setting the location of the frame how would one go about doing this?
Depends. If you want to become a programmer, the you should learn all the swing stuff. If you want to quickly build and rung a small project of yours -you canse the design tools. If you want to become a programmer, you need to learn these disign tools and a hole bunch of other tools as well.
Nice tutorial ........And I want to crate java swing application to convert degrees to radians button and Visa versa using radio button please reply as soon as possible I want to submit my project ......
awesome easiest and understandable methods used best way to go for beginners no complicated stuff
just a single comments, always use first letter UPPERCASE in java classes.
Good job for ur video !!!
I must say... i'm impressed by your teaching its nice
great job
To anyone wondering what the background music is:
0:00 - 2:24: Third Time - Jingle Punks
czcams.com/video/tJzg8pzALiw/video.html
2:24 - 13:53 Jincheng Zhang - Culture I L
czcams.com/video/Mlfzmk5sgik/video.html
Your tutorial makes it easier to understand everything. THANK YOU SO MUCH!
Thank you very much.
You helped a lot.
I've written a thousand java programs but not yet.
i can't define my hapiness
Thanks for this tutorial. I am following along using Eclipse IDE to formulate my own version of this calculator. There are a few differences, but over all this is great. Thanks!
Awesome video man........ I learn lot of things in this video....... Thank you very much
I never can understand why people make good videos without verbal instructions
Don't want to get bullied for their voice and accent
your video is the best video.please continuously make videos like this. you have the great knowledge of java ide.
very useful video sir, it"s so useful and understanding easily because you explained everything by writing (and not uttering by mouth, so it becomes very much clear and no confusion), thanks sir. Please make more Videos on java
Cance
Great sir i am also a beginner studnet of OOP Java 🤗
Great channel, wish you had more examples of projects in Java :D
InstaBlaster
Very Thanks to you for making such projects ..Its very helpful for beginners, kIndly make more projects on java.
Ultimate bro
I liked your number concatenation technique
I can it display something like "MATHS ERROR"
simple programming but very effective sir. thanx thanx
Great tutorial man !
Thank u very much, I have learned a lot
I was useful this . Thank you so much..😍
This video was really useful :)
Thank you for this tutorial its very helpfull
I am beginner and I am from Uzbekistan I undustand english language but not wery well . thanks for video I liked it
10:40 and your explaining really continue like this +one sub!
best video for trainee.
Thank you very much sir. GOD bless you.
It's quite easy to code for a calculator if program it in java, not only I developed many apps like calculator but others like railway ticket generator, library manager using arrays : and many other programs like hotel book like Trivago but Trivago is a complex app we have to use java script btw I read in 10 class in ICSE so am lil profound in programming
You can just make a 2D array of JButtons and iterate over it using a for loop to set it to false
It's a very task for java developers.
Your videos are the best!
Watch my videos too....
czcams.com/video/7PS1sll-FFI/video.html
so cool! thank you very much!!!
Thanks for this. I spaced put for a bit and thought from the music that I was watching a porno from the 70s.
I learned from him a lot
The BEST!!!!!!!!!! thanks
REPLY
very instereting. thank you Ras Tech
you can use substring method for backspace button )
//backspace button code
String s=txtField.getText();
textField.setText(s.substring(0, s.length()-1));
Cannot make a static reference to the non-static method setText(String) from the type JTextComponent while setting up the SetText
Good Tutorial!
U r superb u can make a full course on gui in netbeans using Java
Great course, but could you please tell me whats the software your are using to design IS it éclipse ?
Wow, Cool!
I don't know who is this guy but I love this content 😁
Amazing video. Thanks!!
Interesting. Thanks.
Can you change the autocomplete keybind in the settings? Its really annoying being ctrl+space...
can you maybe change it to tab?
cảm ơn bro
You will create a program that can perform multi task witch can Create, Read, Update and Delete. The very basic example is a calculator.. In other words your about to create a calculator using java.
thank you, i understand all . Good teacher .but you forgot equal (=)
What r use code of = ??...in this calculator
@@chandnik7647 nice english m8
@@zsnails5892 lolol
zSnails mfw i find out that not everybody has English as a first language
No bro he have decided about = you don't have watch the next video
I think to this is a very important video
Thanks a lot and keep it up
this is so helpful! I really hate the new Windows 10 calculator.
like the second song. thanks for the tutorial bro
Thank you so much!!!
Thank you very much.
there was no need of adding on/off button it is not running on battrey
i think its just aesthetic...
@@xinflict3078 yup it is
It is if you run it on a laptop
@@ndrew_B ha ha XD
Same
Nostalgic. Last year when I cant write single line of code I watched this about 5 times😅
how good are you at it now?
ok so this probably isnt the best way of making a ui calc in java. You could use an array of buttons (numbers, operations, ect) and use a for loop to access them. ex:
private JButton[] numbers;
numbers = new JButton[10];
for (int i = 0; i < 10; i++) {
numbers[i].setText(i);
}
Yo that’s crazy but who tf asked
@@YamiTheCreator i did.
@@skyler948 when
@@YamiTheCreator now
@@skyler948 ?
Nice vid I didnt know there was a more convenient way to design the frames in NetBeans. Whats the song name tho?
My horizontalAlignment doesn't exist, I do I do? I can't write in the area that needs to be written
I am asking that There is no need to write a code just edit will be required for making calculator???
I try it but huge error arrive in the program during compilation.
Music at the beginning please ?
Thanks for the video nonetheless !
Thank you very mụch
are you using eclips or ntbns?
why you dont use loops for setEnabled()?
thanks a lot...
How do you highlight your cursor with that yellow cirlce?
In which application are you running the program?
Please let me know as I am finding the application from a week!
by choose project i do not have JAVA APPLICATION. Please help
Can you please add a tutorial wherein creating a Calculator GUI using a TextPad8?
great.
Bhai Java Se related Koi Small project Ki video dal do.Bahi aapke Samjane kaa Method Bahut abdiya hai .College me Submit karna hai...
very helpful
Is the video using WindowBuilder plug in for eclipse?
is it possible to create GUI without using pallete and automatic template like that? (I don't really know what's that called)
Dude, I liked one of your background music that I had to bring my $500.00 headphone.
I only use this headphone for special apps with good music.
When i'm running project I'm getting no main classes found. What can I do??
Couldn't you just put enable() and disable() in one method with a boolean input?
Bro Java tool cannot come what to do
In creating new project and
Select the Java
But cannot show the java
Very nice to watch, the background music is very relaxing while learning.
Now, in eclipse 🤗
6.30 number not displaying when previewed
can i upload to playstore or can i install in my phone??
Everything is fine and good!
But, you mentioned that any IDE if fine but the logic would be the same. What if I use Notepad or Geany, and compile my code manually using CMD or terminal(in Linux-based Operating Systems)? You used Designer mode in Netbeans IDE and clearly you are telling that it is a Swing-based application. Don't you think anything designed using designer mode is taken as JavaFX functions? Please note that JavaFX is "completely" different from Swing-based applications.
Abhiram Shivaprasad u know how to do it in notepad
notepad isnt an IDE. its just a text editor
@@hayden0211 that doesn't mean you can't use it for programming. In the end, all source code is just plain text.
sir I know basic of java I will need some information please zooming function how to learn and already created table how to add Zooming button
how to apply logic like, adding multiples numbers , for ex: 1+2+4+4+3
I am currently working on developing the logic so that it actually works as a calculator. I will update you when its done and upload my project on github.
I am almost done with it and it will atmost take me 3 days to complete the project.
1+2+4+4+3 = 14
I made a program (not an app) ( i'm a noob) it's subtracts, adds, multiplies, divides, finds square root and calculates percentage.
But there's a downside if you want to add/subtract/divide/multiply less than 10 numbers, you'd have to input others as 0.
I can copy paste the program if you want me to
You’ll have to use a postfix algorithm to be able to do that.
Just save a temporary number and operator, when the second number is pressed and then the operator you have to operate what is on temporary plus de second number
jTextField1.setText("");
this command must have to be written before disable() in OFF button command.
otherwise un deleted numbers appears on the screen after off
Thanks mate
New to coding so this is probably a noob question but, I am using window builder for eclipse and am having trouble setting the location of the frame how would one go about doing this?
You can open ms paint and set the size of that layer to the size you want your frame to be. Now with your mouse pointer you can see the coordinates
Nice tutorial.......... keep going
Nice , idea.
should i learn how to actual write the jframe code?
or just use the design tools provided by netbean in the video?
Depends. If you want to become a programmer, the you should learn all the swing stuff.
If you want to quickly build and rung a small project of yours -you canse the design tools.
If you want to become a programmer, you need to learn these disign tools and a hole bunch of other tools as well.
Sir which ide, you are using in this video
Nice tutorial ........And I want to crate java swing application to convert degrees to radians button and Visa versa using radio button please reply as soon as possible I want to submit my project ......
It dosent run on Netbeans i have a Failure „ No main classes found“
i dont have location so what to do
có một cái nữa là nếu như thực hiện phép tính âm thì sao ví dụ -9+6 thì như nào
tnx
Tysm
Bro we want explanation how to make it easy and in understandeable way
True
nice