does anyone hav answers to dis

Q1) is it possible to convert strings to integer in java
Q2) is it possible to change the display over a button....
for instance if a declared a button lik dis
JFrame butt = new JFrame("wasa");
now on clickin dis button i want it 2 b disabled and change d display over d button from d given text 2 something lse lik say clicked...
i can do d first part but d button displays d same text n i'm not able to find a comman

i'm doin engg... workin on a project n i'm stuck coz i encountered wid dese irritatin problems so i wil b really grateful if anyone has solutions 4 dese queries...
waitin 4 an answer in anticipation...
thank you

Comments

  • : Q1) is it possible to convert strings to integer in java
    : Q2) is it possible to change the display over a button....
    : for instance if a declared a button lik dis
    : JFrame butt = new JFrame("wasa");
    : now on clickin dis button i want it 2 b disabled and change d display over d button from d given text 2 something lse lik say clicked...
    : i can do d first part but d button displays d same text n i'm not able to find a comman
    :
    : i'm doin engg... workin on a project n i'm stuck coz i encountered wid dese irritatin problems so i wil b really grateful if anyone has solutions 4 dese queries...
    : waitin 4 an answer in anticipation...
    : thank you
    :
    a1: yes (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Integer.html)
    a2: yes (http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Button.html)
    See links for the methods to code it.
  • thx a lot dude dose info wer more dan enuf...
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories