I have created the buttons for calculator and also the Textbox where the value would be shown .............I want to known how to show the value in textbox when the button 1 ,2,3,4,5,6,7,8,9,0,/,+,=,-,.is clicked in lwuit
I have created the buttons for calculator and also the Textbox where the value would be shown .............I want to known how to show the value in textbox when the button 1 ,2,3,4,5,6,7,8,9,0,/,+,=,-,.is clicked in lwuit
You just need to update the Textbox using getString(), update and setSgtring() on the text box with every click on the button.I have created the buttons for calculator and also the Textbox where the value would be shown .............I want to known how to show the value in textbox when the button 1 ,2,3,4,5,6,7,8,9,0,/,+,=,-,.is clicked in lwuit
You need to write this Textbox Update code in actionListner.k so then should I need to write it in startApp r in ActionListener...................
Can anyone tell me how to synchronize a textbox with a button in lwuit
Instead of the Textbox on the top, just use stringItem and update it using setString() from actionListener - no need to synchronize