Convert from String to ImageIcon in Java Netbeans

0

I would like to know how to convert from String to ImageIcon in java.

at the time of closing the program I save information in a txt, at the beginning I keep it well.

The problem is when I want to reread what is stored in the txt, I have a list in which it inserts everything it finds.

But I get an error because I send a parameter of type ImagenIcon and what the txt returns is a String and I do not know how to convert.

    
asked by Ismar Miranda 25.04.2017 в 10:15
source

0 answers