Hello all Java Programmers. I'm trying to create a calculator using JFC & swing. I have prepared buttons but unable to send more than 1 letter to text box from buttons at a time. Also I want to put a scroll bar to an applet. Can anybody help me? Either send email directly to me or send me reply through this forum. Regards, Mahesh.
Hi Mahesh, I'm not sure I understand your question. In particular, what do you mean by
I have prepared buttons but unable to send more than 1 letter to textbox from buttons at a time.
Is this like on a regular calculator you press the "5" button and a 5 appears in the display? If so, why are you trying to get more than one letter at a time? Please forgive my misunderstanding. I would like to help you. Could you please explain your question a different way or maybe post your code so we can see what the difficulty is? Also, just to let you know, it is required on JavaRanch to use a first name, space, last name format when registering. "K" will not be considered a last name. See here for more info: http://www.javaranch.com/name.html Please make this change when you can, because I would hate to see your account be locked. Thanks. Stephanie
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
Devious Experiments for a Truly Passive Greenhouse!