hi ,
i am facing a problem with jlabel.
i wanna check wether the values displayed in the label is
0 or not.but no coding seems to work.
int a=Integer.parseInt(albl.getText());
if(a==0){
lbl.setText(""+"out of stock");
}
else{
JDialog1.setVisible(true);
}