- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I've soome buttons in my coding. It has some values. I want to add those val & display in a text box. When u press a button the amt has to be calculated. I tried bt it's not working.How can I do this? I need quick reply. This is my … |
|
In my java code I get this error. Enyone fix it for me Plz? cannot find symbol `:method getSelectedItem()` This is my code. import java.awt.*; import java.awt.event.*; import java.applet.*; public class soda extends Applet implements ActionListener, ItemListener { Label lblhead,lblfoot,lblsize,lbltype,lblamt,lblbal,lblavilability; Button b1,b2,b3,b4,b5,b6,b7,btnref; Choice choice1; Checkbox ch1,ch2,ch3,ch4,ch5; float num,money,change; CheckboxGroup cbg,cbg1; … |
|
Does java has toString function? eg : txtamt.setText(toString(num)); But it doesn't work. Plz give me the right method. |
|
I created a java Applet. It has an error. The error is applet not initialized. I need urgent help for this error. I created the interface using netbeings & coppied the code to the Jcreater. :( |
|
How to use ActionListener and ItemListener together in one java program?? |