Hi,
I need help to get the method below "createarticle" to call a a new method called "outprintarticlecreated()" in the same class. The new "outprintarticlecreated()" method should just print out with JOptionPane that a new article has been created. It should be easy, but I cant get it right and I tried with tutorials. Beginner problem.. Please help me someone!
public void createarticle(String artId, String name, int instock, double price) { Register.artikelRegister.put(artId, new Artikel(artId, name, instock, price)); } outprintarticlecreated(); JOptionPane.showMessageDialog(null, "Article created!")