Java Calculator App Development Tutorial 1 | Swing | GUI

Sdílet
Vložit
  • čas přidán 9. 06. 2016
  • Part - 2 :- • Java Calculator App De...

Komentáře • 328

  • @sanketdhanawade3292
    @sanketdhanawade3292 Před 7 lety +7

    awesome easiest and understandable methods used best way to go for beginners no complicated stuff

  • @dulaozinho
    @dulaozinho Před 5 lety +17

    just a single comments, always use first letter UPPERCASE in java classes.
    Good job for ur video !!!

  • @itsdeliciousanyhow3828
    @itsdeliciousanyhow3828 Před 4 lety +3

    I must say... i'm impressed by your teaching its nice
    great job

  • @Alex-er7lb
    @Alex-er7lb Před 5 lety +6

    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

  • @unicornisreal9626
    @unicornisreal9626 Před rokem

    Your tutorial makes it easier to understand everything. THANK YOU SO MUCH!

  • @redstone_craft9175
    @redstone_craft9175 Před 3 lety

    Thank you very much.
    You helped a lot.
    I've written a thousand java programs but not yet.

  • @waqarmughal4489
    @waqarmughal4489 Před 7 lety +8

    i can't define my hapiness

  • @farzero
    @farzero Před 8 lety +12

    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!

  • @vickneshg1053
    @vickneshg1053 Před 6 lety +2

    Awesome video man........ I learn lot of things in this video....... Thank you very much

  • @icscelticstraining8996
    @icscelticstraining8996 Před 4 lety +24

    I never can understand why people make good videos without verbal instructions

    • @Emoechaiti
      @Emoechaiti Před 9 měsíci +2

      Don't want to get bullied for their voice and accent

  • @sourabhmalik4351
    @sourabhmalik4351 Před 6 lety +1

    your video is the best video.please continuously make videos like this. you have the great knowledge of java ide.

  • @pawanofficialmail1688
    @pawanofficialmail1688 Před 7 lety +2

    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

  • @gamingwithahsan935
    @gamingwithahsan935 Před 4 lety +4

    Great sir i am also a beginner studnet of OOP Java 🤗

  • @olantufufa8830
    @olantufufa8830 Před 4 lety +19

    Great channel, wish you had more examples of projects in Java :D

  • @chirag9797
    @chirag9797 Před rokem

    Very Thanks to you for making such projects ..Its very helpful for beginners, kIndly make more projects on java.

  • @suyogamin1859
    @suyogamin1859 Před 6 lety

    Ultimate bro
    I liked your number concatenation technique

  • @sermaximus
    @sermaximus Před 6 lety +20

    I can it display something like "MATHS ERROR"

  • @arielahillion9772
    @arielahillion9772 Před 4 lety

    simple programming but very effective sir. thanx thanx

  • @izack0ldtn902
    @izack0ldtn902 Před 4 lety +2

    Great tutorial man !

  • @VuHoang-sj7ju
    @VuHoang-sj7ju Před 5 lety

    Thank u very much, I have learned a lot

  • @kgmrnayanatharaka5939
    @kgmrnayanatharaka5939 Před 4 lety

    I was useful this . Thank you so much..😍

  • @dhevanrajandran7632
    @dhevanrajandran7632 Před 5 lety

    This video was really useful :)

  • @rimesx2
    @rimesx2 Před 6 lety +1

    Thank you for this tutorial its very helpfull

  • @umarjonbakirov6850
    @umarjonbakirov6850 Před 3 lety

    I am beginner and I am from Uzbekistan I undustand english language but not wery well . thanks for video I liked it

  • @Alex.C873
    @Alex.C873 Před 2 lety

    10:40 and your explaining really continue like this +one sub!

  • @pw9337
    @pw9337 Před 6 lety

    best video for trainee.

  • @elijahayodele173
    @elijahayodele173 Před rokem

    Thank you very much sir. GOD bless you.

  • @kalpanabal2132
    @kalpanabal2132 Před 5 lety +1

    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

  • @taherhuzefa6790
    @taherhuzefa6790 Před 5 lety +1

    You can just make a 2D array of JButtons and iterate over it using a for loop to set it to false

  • @pranjalgupta5292
    @pranjalgupta5292 Před 4 lety +1

    It's a very task for java developers.

  • @yixunnnn
    @yixunnnn Před 7 lety +5

    Your videos are the best!

    • @ResumingWindows
      @ResumingWindows Před 6 lety

      Watch my videos too....
      czcams.com/video/7PS1sll-FFI/video.html

  • @granav5240
    @granav5240 Před 5 lety

    so cool! thank you very much!!!

  • @ufotofu9
    @ufotofu9 Před 6 lety +36

    Thanks for this. I spaced put for a bit and thought from the music that I was watching a porno from the 70s.

    • @J4T375
      @J4T375 Před 3 lety

      I learned from him a lot

  • @andrespipe223
    @andrespipe223 Před 6 lety +1

    The BEST!!!!!!!!!! thanks
    REPLY

  • @rastechgh38
    @rastechgh38 Před rokem

    very instereting. thank you Ras Tech

  • @mithun1st
    @mithun1st Před 6 lety +4

    you can use substring method for backspace button )
    //backspace button code
    String s=txtField.getText();
    textField.setText(s.substring(0, s.length()-1));

  • @saubhagyasrivastava1241

    Cannot make a static reference to the non-static method setText(String) from the type JTextComponent while setting up the SetText

  • @mariuscreepy
    @mariuscreepy Před 6 lety +1

    Good Tutorial!

  • @janani.agencies8976
    @janani.agencies8976 Před 4 lety

    U r superb u can make a full course on gui in netbeans using Java

  • @ecourses2183
    @ecourses2183 Před 3 lety +1

    Great course, but could you please tell me whats the software your are using to design IS it éclipse ?

  • @myytkn8526
    @myytkn8526 Před 5 lety

    Wow, Cool!

  • @royalsgaming03
    @royalsgaming03 Před 2 lety

    I don't know who is this guy but I love this content 😁

  • @kaukostarwind
    @kaukostarwind Před 6 lety +1

    Amazing video. Thanks!!

  • @thiery572
    @thiery572 Před 5 lety

    Interesting. Thanks.

  • @jonbrandre3006
    @jonbrandre3006 Před 7 lety

    Can you change the autocomplete keybind in the settings? Its really annoying being ctrl+space...
    can you maybe change it to tab?

  • @tumaivan9338
    @tumaivan9338 Před 6 lety

    cảm ơn bro

  • @burnesport7109
    @burnesport7109 Před 3 lety +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.

  • @mrn7460
    @mrn7460 Před 7 lety +28

    thank you, i understand all . Good teacher .but you forgot equal (=)

    • @chandnik7647
      @chandnik7647 Před 5 lety +3

      What r use code of = ??...in this calculator

    • @zsnails5892
      @zsnails5892 Před 4 lety +1

      @@chandnik7647 nice english m8

    • @aminajan2468
      @aminajan2468 Před 4 lety +1

      @@zsnails5892 lolol

    • @samallen1726
      @samallen1726 Před 4 lety +2

      zSnails mfw i find out that not everybody has English as a first language

    • @GoldensecretsTutorials
      @GoldensecretsTutorials Před 4 lety

      No bro he have decided about = you don't have watch the next video

  • @susanthajayanathvideos5538

    I think to this is a very important video

  • @rahulnagpure975
    @rahulnagpure975 Před 3 lety

    Thanks a lot and keep it up

  • @missFrill
    @missFrill Před 6 lety +1

    this is so helpful! I really hate the new Windows 10 calculator.

  • @eug_gino
    @eug_gino Před 5 lety

    like the second song. thanks for the tutorial bro

  • @Anna-iz4dg
    @Anna-iz4dg Před 2 lety

    Thank you so much!!!

  • @user-cc8lu2vo4c
    @user-cc8lu2vo4c Před 3 lety

    Thank you very much.

  • @eugenemartin7475
    @eugenemartin7475 Před 4 lety +31

    there was no need of adding on/off button it is not running on battrey

  • @PAUL-ky4dq
    @PAUL-ky4dq Před 3 lety +2

    Nostalgic. Last year when I cant write single line of code I watched this about 5 times😅

  • @skyler948
    @skyler948 Před 3 lety +10

    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);
    }

  • @BrandonCuringtonOfficial

    Nice vid I didnt know there was a more convenient way to design the frames in NetBeans. Whats the song name tho?

  • @mrpowder7687
    @mrpowder7687 Před 6 lety

    My horizontalAlignment doesn't exist, I do I do? I can't write in the area that needs to be written

  • @muratkhan794
    @muratkhan794 Před 4 lety

    I am asking that There is no need to write a code just edit will be required for making calculator???

  • @zaheddeshmukh8238
    @zaheddeshmukh8238 Před 4 lety +1

    I try it but huge error arrive in the program during compilation.

  • @Alkhalidi44
    @Alkhalidi44 Před 5 lety

    Music at the beginning please ?
    Thanks for the video nonetheless !

  • @tuanlethanh6159
    @tuanlethanh6159 Před 4 lety

    Thank you very mụch

  • @keshavnaharwar5515
    @keshavnaharwar5515 Před 6 lety

    are you using eclips or ntbns?

  • @ItsMe-fj1co
    @ItsMe-fj1co Před 5 lety

    why you dont use loops for setEnabled()?

  • @jaguarobina3325
    @jaguarobina3325 Před 5 lety

    thanks a lot...

  • @shabbirabbas2860
    @shabbirabbas2860 Před 3 lety

    How do you highlight your cursor with that yellow cirlce?

  • @sramishprasadchandra1994

    In which application are you running the program?
    Please let me know as I am finding the application from a week!

  • @hamzamoosa8231
    @hamzamoosa8231 Před 5 lety

    by choose project i do not have JAVA APPLICATION. Please help

  • @corvussocietas1804
    @corvussocietas1804 Před 7 lety

    Can you please add a tutorial wherein creating a Calculator GUI using a TextPad8?

  •  Před 4 lety

    great.

  • @monugupta3508
    @monugupta3508 Před 5 lety +1

    Bhai Java Se related Koi Small project Ki video dal do.Bahi aapke Samjane kaa Method Bahut abdiya hai .College me Submit karna hai...

  • @bahadrustabas8981
    @bahadrustabas8981 Před 5 lety

    very helpful

  • @pranavnyavanandi9710
    @pranavnyavanandi9710 Před 2 lety

    Is the video using WindowBuilder plug in for eclipse?

  • @madebudhi8411
    @madebudhi8411 Před rokem

    is it possible to create GUI without using pallete and automatic template like that? (I don't really know what's that called)

  • @yolamontalvan9502
    @yolamontalvan9502 Před 5 lety +3

    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.

  • @sichikalokhande5258
    @sichikalokhande5258 Před 3 lety

    When i'm running project I'm getting no main classes found. What can I do??

  • @ndrew_B
    @ndrew_B Před 4 lety

    Couldn't you just put enable() and disable() in one method with a boolean input?

  • @RANAND-gf8qo
    @RANAND-gf8qo Před 4 lety

    Bro Java tool cannot come what to do
    In creating new project and
    Select the Java
    But cannot show the java

  • @themain6664
    @themain6664 Před 4 lety

    Very nice to watch, the background music is very relaxing while learning.

  • @gonzalofuenzalida4411
    @gonzalofuenzalida4411 Před 4 lety +1

    Now, in eclipse 🤗

  • @sharmamayank09
    @sharmamayank09 Před 6 lety

    6.30 number not displaying when previewed

  • @nepatubelearner2891
    @nepatubelearner2891 Před 5 lety

    can i upload to playstore or can i install in my phone??

  • @abhiramshivaprasad2713
    @abhiramshivaprasad2713 Před 7 lety +10

    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.

    • @sufyanparkar9790
      @sufyanparkar9790 Před 6 lety

      Abhiram Shivaprasad u know how to do it in notepad

    • @hayden0211
      @hayden0211 Před 6 lety +3

      notepad isnt an IDE. its just a text editor

    • @MaartenvanHeek
      @MaartenvanHeek Před 5 lety

      @@hayden0211 that doesn't mean you can't use it for programming. In the end, all source code is just plain text.

  • @dhanalakshmi-rm4fz
    @dhanalakshmi-rm4fz Před 5 lety

    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

  • @alexanderaguilar2263
    @alexanderaguilar2263 Před 4 lety +14

    how to apply logic like, adding multiples numbers , for ex: 1+2+4+4+3

    • @tabrezshaikh1889
      @tabrezshaikh1889 Před 4 lety +2

      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.

    • @vergil2739
      @vergil2739 Před 4 lety

      1+2+4+4+3 = 14

    • @arjungotan3079
      @arjungotan3079 Před 4 lety

      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

    • @hellamaxine
      @hellamaxine Před 4 lety +1

      You’ll have to use a postfix algorithm to be able to do that.

    • @alexcordovac
      @alexcordovac Před 4 lety

      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

  • @revelswarrior2815
    @revelswarrior2815 Před 5 lety +3

    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

  • @seanogrady8293
    @seanogrady8293 Před 5 lety

    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?

    • @4TH4RV
      @4TH4RV Před 4 lety

      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

  • @coach_parvez3923
    @coach_parvez3923 Před 8 lety +1

    Nice tutorial.......... keep going

  • @giwrgoskwstakis6669
    @giwrgoskwstakis6669 Před 4 lety

    Nice , idea.

  • @voon2770
    @voon2770 Před 5 lety

    should i learn how to actual write the jframe code?
    or just use the design tools provided by netbean in the video?

    • @SomeGuy-ye8it
      @SomeGuy-ye8it Před 5 lety

      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.

  • @rambabukushwaha74
    @rambabukushwaha74 Před 3 lety

    Sir which ide, you are using in this video

  • @pankajnaik5201
    @pankajnaik5201 Před 7 lety

    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 ......

  • @DailyFact51
    @DailyFact51 Před 3 lety

    It dosent run on Netbeans i have a Failure „ No main classes found“

  • @mujashagga
    @mujashagga Před 5 lety

    i dont have location so what to do

  • @mahellotv9058
    @mahellotv9058 Před 4 lety

    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

  • @LifeAZ
    @LifeAZ Před 6 lety

    tnx

  • @gaurdionz307
    @gaurdionz307 Před 4 lety

    Tysm

  • @lightningnsc2922
    @lightningnsc2922 Před 4 lety +2

    Bro we want explanation how to make it easy and in understandeable way

  • @saheennaaz7269
    @saheennaaz7269 Před 6 lety

    nice