GUI Calculator in JAVA using eclipse ide | Tech Projects
Vložit
- čas přidán 2. 04. 2020
- Simple GUI calculator in java using eclipse ide in easy and better way with desktop icon also and in 18 min only.
-----------------------------------------------------------------------
Disclaimer:
This video is for educational purpose only.
Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "FAIR USE" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research.
"FAIR USE" is a use permitted by Copyright Statute that might otherwise be infringing.
Non-profit, Educational or Personal use tips the balance in favour of Fair Use.
------------------------------------------------------------------------
If you think that I have used your property in my video by mistake then I am ready to give you whole credit.
You can contact me on my Email or Instagram Id.
Email Is :- brijeshtechprojects@gmail.com
Instagram Is :- / tech__projects
------------------------------------------------------------------------
Visit My Channel Playlists for amazing Content
Click Here to Check All Android Projects:- • Android Projects
Click Here to Check All Java GUI Projects:- • JAVA Projects
Click Here to Check All Basic Programming Information:- • Basic Programming Info...
Click Here to Check Git and GitHub Series:- • Git and GitHub Series
Click Here to Check All Web Development Projects:- • Html , css , JavaScript
Click Here to Check All Python Projects:- • Python
Click Here to Check All C Language Projects:- • C Language Projects
Click Here to Check Quiz App In Android Studio:- • Quiz App in Android St...
Click Here to Check Guess the Output Series In C Language:- • Guess the output | Pr...
Click Here to Check Tips And Tricks:- • Playlist
Click Here to Check Weather App in Android Studio:- • Weather App in Android...
-----------------------------------------------------------------------
Follow My Instagram Page For Best Coding Content Daily :- / tech__projects
Visit My GitHub Profile for All Projects Source Codes:- github.com/Brijesh-kumar-sharma
------------------------------------------------------------------------
Thanks For Watching
If you have Any Query Comment Down Below
Thank You
Tech Projects
Gui calculator in java
gui calculator in java
how to make gui calculator in java
how to make calculator in java
tech projects
Tech Projects
Tech projects
techprojects
Excelent video dude, regards from Uruguay !
Thank you for this informative video. You explained these details so easily .
Thank you so much 🌼 I just got A+ in this project 💛✨
Welcome 😀
Ooy hooy
Thanku bro successfully calci done by watching ur video ❤❤❤🎉
THANK YOU SM for this video!!! Helped a lot
Amazing Start
Thank you so much for making a simple projects
Hello, good one. I have tried this and has worked out well, although I have a small some improvisation.
you can initialise the operation variable after each if/if else clause. This shall avoid further operations to carry on after each press of "=" symbol.
Thanks for this suggestion it will definitely help a lot of people
Keep it up👍👍👍
Excellent work
Thanks
Thanks a lot it helps me for creating my mini project...😊😊❤❤
Thank you so much for your detail explanation sir.
Excellent work dude
It's easier than other youtubers who take a hour to make a calculator
Thank you for showing us your skills. Nice job. :)
keep it up
excellent work 👍👍👍
Thnx banty khushwaha
Copied from DJ Oamen
Thanks a Lot Very Good Keep it up
Thank you so much brother it my second learning project it works
Great work...Thanks bro...Keep rocking....Helped me a loot.
Thanks brother keep supporting
@@TechProjects sure....🤗
Thanku so much for this video 🤩
Thanks a lot fabulous vedio❤️🔥 only bcoz of u I completed my first project in java 🎉
Thanks brother keep supporting
Thank you so much for this video😍
My pleasure 😊
thank you brother, ypu helped me a lot
Great start Bhai ....
Thank you brother share the video plzz...☺️
Good tutorial bro 💙😊
Thanks brother ❤️
Nice work👏
Thnx brother and share the video plzz☺️
Nice work keep it up brother 👍👍
Tq brother
Thank you so much brother ❤❤
Nice👍🙂
Thank its informative
Good work.
Thnx bro
Thanks a lot !
Thank you so much pro
Thanku so much sir...
Please make video using java eclipse and MYsql
Good bro 👍
Thanx bro
thanks so much for your help
Welcome
Bruhhhhhhhh Thank you!!!!
nice voice bro 😍😍
Thanx brother share the video plzz☺️☺️
Super
I dont know if I missed something, but when I click dot it doesnt work properly. Any solutions?
Thank you very good video
Thank you too
Good
Dude amazing thank you! Everything helped but, when I exported it and launched it on my desktop it said an JNI Error Occurred please check your installation and try again. Please help me!
U r nathing u just 👍 great.
Tq so much bro
Very nice
Thanks please subscribe and keep supporting
Can you explain why str.toString() was able to convert string when str.deleteCharAt(textField.getText().length()-1) was not saved into memory?
JButton btnBackspace = new JButton("\uF0E7");
btnBackspace.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
String backspace = null;
if (textField.getText().length() > 0) {
StringBuilder str = new StringBuilder(textField.getText());
str.deleteCharAt(textField.getText().length()-1);
backspace = str.toString();
textField.setText(backspace);
}
}
});
❤️
I did everything but it in the equal to area it shows that return needs to be an object instead of a double
Big fan
Yes
Good luck.very clear lesson 👌😍
Thanks brother keep supporting
I have a query : % in normal calculators used to find percentage, but here we code " first % second " which will give the mod value, is that ok?
For 4 operators if we take second variable inside their respective if statement and for % operation within else if if we write :
result = first/100;
answer = Double.toString(result);
answer = String.format("%.2f", result);
textField.setText(answer);
then % in this code is working like it does in mobile calculators
yes it work as quotient reminder
260 lines for a calculator? 😱
كان فيديو رائع جدا
Bro please can u help me, i don't know why the palette is empty??
here you wrote the code to do arithmetic operations using only two numbers
how can i do that operations using multiple numbers
for eg : 2+2+6 =10
in my eclipse window builder properties are not see it is 3
white blank window and one black window for components why ?please help.
Not matter what I do my "=" operation always adds the first and second variables together? The -, * and / do not work as intended. I have doubled my code and even changed the "+" to a "-" on the first if statement and keep getting the same result.
And what is this part "%.2f" I don't understand what it is?
Check the code please
@@Adam1llion In the result the floating no can only have two numbers after the point. E.g- the calculated result is 10.763948 but is shows only two digits rounded after the point 10.77
there is no option of application window in the wizard section
in my eclips there is no swing designer, nor window application folder, what should i do??
Hi... explanation is very well ...can u plz share the source code?
Good tutorial 😍👍🏼
Thank you brother
Copied from DJ Oamen
how did you change the variable name example button_1 to btn1?
thanks
Thank you.. How do you turn it into an exe file extension?
i made my calculator at 27 april 2020. program does not recognise textField als a valid class,why did it not declare the variable automatically?
May be ur text field with different name so it does not get recognise
Check your text field name by click on text field and after click you see properties of its on left side.
If error is still come after checking this then tell me i give you my email id then send me pic of the error
omg thnks so much i hope you will be success one day
Thanks keep supporting
excellent work.. really 👏 but I think we haven't written code for C Button
I write it please check carefully btw thanks 😃
oh then my mistake.. really sorry
why do i get an error after making the class calci, i downloaded all the add ons needed
Try to restart and perform every operation again
Maybe you Missed something
can we add 3D effect here ?? if so then how
hey thanks for the code but how do i fix it when i run it as a runnable jar file? it says "A java exception has occured." Please, i need it for class ty.
Same won't work 😢
Bhaiya Swing design agr option mai hi nhi h toh kya krna chahiye(kyuki yeah eclipse mai show nhi ho raha h ?
Very nicely taught but plz also tell that how to do any respective operation repeatedly like 2+3+5+6= ? Like this pattern...
Use infix to postfix
Will u please explain it a little... Plz 🙏
Actually I'm new to coding..
Use Google for this that one is big topic hope you understand
@@TechProjects Okay bro, Thank you for ur help till now🙏
How to install windowbuilder in eclipse ide :
help->install new software->select all available sites in work with->search WindowBuilder-> select general purpose tools -> in details mark first 2 boxes and unbox next 2 boxes->next->next->click accept->click finish->after installation click restart now. It will available in eclipse ide
Sir I don't have swing design option . please can you explain what i do?
nice bro!!
Thanks big bro share the video plzz☺️
I am getting format error while writing for Equal button can you help me out
My design part is not coming where and how do I get the design ?
I tried your code it works perfect but the answer is editable what is the solution please tell
Can you plz help me my design is not coming it is showing error it says jawa.awt package is not accessible...can you plz help me
why mine on 8:02 have null word before the number 1? :((
verify ke sath customize bhi kro baki sb ok hai👌
Verify krliya h
ok to customize bhi kro
answer=String.format("%.2f", result);
got error in format word as it say to convert double result to object result
after converting first+second word error say convert to double..............?????
can we share the final project so that others can use it
How to try catch for Mathematical error? Been trying to make a try catch for 0 divided by 0, but it only crash the program, not catch it.
Use if else when you press on equal it is better
@@TechProjects Holy shit dude!!!!! I can't believe it actually work!!! THANK YOU SO MUCH!!!!!!
Thanks brother keep supporting
bro i am not able to get the window builder option in the process .....can u plz help me out
Install swing deisgner first in your eclipse ide
All the program are very good for calculator, but percentage option is not clear in your demonstration... please clear it ...:-(
i am not getting "windows builder" option. Any other way? kindly help me asap.
Watch my of how to install java
On that video i also show how to install window builder in eclipse ide
where is application window option is not available for me wt can I do now
In my eclipse it not showing application window what i need to do
why i dont see all icons of the gui in my design tab?
i dont see the whole gui. At top right there should be minimize icon maximize icon and close window icon and i see only 1 and if i change the size of gui i can see sometimes 2 of the three
How can i rectify the class not found exception?
Maybe you use different class name
bhai according to choice toh kuch bhi nhi ho rha hai
kisi bhi object ka size according to choice set nhi ho paa raha hai
pta nhi kyu
when i am ecxporting, its showing A JNI error has occurred, please check your installation and try again in Eclipse
I uploaded a video how to convert java project in exe so please check that
@@TechProjects Tried that, still same error
i dont have the option of windows builder
bro everything was fine but it does not work from the desktop icon.
Why have you taken string at String number?
Keylistner bhi lagao na veo
Can I get the Source code for it ?
why my calculator error in else if
Hii Bro...I'm unable to get 00 and % sign over here due to string editor error
Please help me out...how to resolve this error🙏
Bro please check your code