Hello
Im trying to code something like this
public class Decoding{
Decoding(InputStream in) //constructor
Object obj = new XMLDecoder(in)
}
}
public class Test{
public static main(String[] args0){
JButton button = new JButton();
decoder = new Decoding(new FileInputStream("somtheing.xml"));
button= decoder
}
}
So as you see I have a special decoding class, and i wan't to decode my xml file ito a java object and pass it to an other class. I've been trying on many ways to do this with no efect. Im counting on your help. Thanks.