0
I am beginner in programming, my question is the following:
- I created an attribute public static final double Preco_Gasolina = 3.85
, in an A class.
- I want to return the value of Preco_Gasolina = 3.85
in a JLabel
in Class B.
That’s possible, as I do?
Friend your tip worked. But appears an incompatibility to convert from Double to String.
– Elivelton França
@Eliveltonfrance sorry I fixed already. If you find another problem just talk :)
– user28595
Good! Problem solved. Obg!
– Elivelton França
@Eliveltonfrança that good! : ) if the answer answered you, you can mark as accepted by clicking on
v
, thus, it will serve as reference for others with the same problem;– user28595