Love your detailed tutorial! Thank U for making this educational video!
@tompol54333 жыл бұрын
thank you very much ,you helped me a lot!!!! bless u!
@ferfykins4 жыл бұрын
Could you use a switch instead of if/else with event? if so, how? ty for video!!
@reshadhajiyev28414 жыл бұрын
yoooo u d=saved my life on exam thx man u best
@kunalverma2684 жыл бұрын
Dude its beautiful😍💓
@asmavillan46228 жыл бұрын
Useful.... Very helpful
@abbadkamel88397 жыл бұрын
yeah so much
@dell45593 жыл бұрын
anyone, please help me at 13:00 Exception in Application start method java.lang.reflect.InvocationTargetException and Error in setting onAction as #handleButtonAction
@ferfykins4 жыл бұрын
Does this calculator work with multiple operations in one operation?
@Mercio25 жыл бұрын
Great tutorial!
@ikramalouane46476 жыл бұрын
it's the same thing with intilij ?? because the metode handTheButton doesn't been creating in my intilij i need your help please
@xx-qd5ol5 жыл бұрын
I tried declarin "operation" and "data" inside the method, but it doesn´t work. It only works if you declare them as attributes, but why is that so?
@aparnagodekar87277 жыл бұрын
Sir, I want to know if you maximize the screen by dragging at that time how to set positions of all the elements .That is how to make it Responsive
@GenuineCoder7 жыл бұрын
Hi, In order to make your layout responsive, you will have to design it in that way. I hope this video kzbin.info?o=U&video_id=fl6Wp1I9wHQ helps
@famzi7333 жыл бұрын
Thank you.
@mohammidsaeedi60237 жыл бұрын
Please can you make it as speach calculator
@abbadkamel88397 жыл бұрын
so i have little question i wish u help me little : why we have write : display.setText(display.getText() + "3"); and for this display.setText(String.valueOf(ans)); ----> u did it to make it String again i m right coz ans is float !!?
@GenuineCoder7 жыл бұрын
Hi, I already explained display.setText(display.getText() + "3") in your previous comment. Now let us consider display.setText(String.valueOf(ans)) -> You can call setText() only with string. ans is a float type and you have to convert float to string for displaying it. -> During calculation, you cant add/subtract/divide/multiple strings. Only numbers can be processed. So, you have to convert string to float. For converting String to float, you can use Float.parseFloat(); Eg :- You cant add "10" and "12". What you can do is int a = Integer.parseInt("10"); int b = Integer.parseInt("10"); int ans = a+b; String result = String.valueOf(ans). Hope you understood.
@abbadkamel88397 жыл бұрын
Oooooh okey okey i got it jknow we should convert to work coz here is calculator yeah yeah u have right thanx uu soo much for reply i wish u keep doining this coz u are great programmer
@bens17527 жыл бұрын
So my code is the same and it works in all the same ways except the clear button isn't working. Is there a different way to do this in the newer versions of Java?
@bens17527 жыл бұрын
Never mind I figured it out.
@bens17527 жыл бұрын
Just finished the version, fantastic.
@abbadkamel88397 жыл бұрын
how u did that !?
@Yes-ok5me6 жыл бұрын
@@abbadkamel8839 update java maybe or write like the video
@manalbenchrif29614 жыл бұрын
when i use try catch i had an error in ans =initialize ans!! whyyy?? and THANK YOU
@henrykashyap89136 жыл бұрын
i tried display.setText but it display is coming in italic, tried importing but nothing happens?
@Yes-ok5me6 жыл бұрын
in scence builder check this textfield or label in properties-font-style-change it to normal
Someone can pls explain me the "Float data = Of"? What is it referring to?
@mmusa64867 жыл бұрын
Float data type is used to store foating point numbers i.e numbers with decimal points whenever any number is declared using float you should endeavour to add "f" at the vback of such number. e.g.. flaot myNum = 67.56f
@abbadkamel88397 жыл бұрын
well i should comment i very like ur tuto u show every thing that soo cool , but there is just one thing bad in ur tuto that u dont explain more like why we do : display.setText(display.getText() + "3"); coz u know im beggine here i dont know many things about those thing i wish u explain more for us and thanx u thanx u soo mcuh
@GenuineCoder7 жыл бұрын
Hi, When you consider the audience, there are a wide variety of them. There are beginners, intermidate and experts. So, I cant go for explaining too little or too much. That's why I keep it in the middle. Coming back to the question : What display.setText(display.getText() + "3") means. It is simple. Suppose you are going to type 253 using the given buttons. Then at first you press : 2 -> Display : 2 Then you press : 5 (If I have used display.setText("5"), then I will loose 2 and only 5 will remain. So, what I have done is, I took in the already present 2 and append 5 to it). -> Display : 25 Then you press : 3 -> Taking already present 25 and adding 3. Hope you got the point.
@abbadkamel88397 жыл бұрын
Ooooh okey okey i see now that why w have write (display.getText() + "3") on display.setText(....) yeah it make sense ... thanx u to explain that thanx u so much