Icon returnString = ((JLabel) mediaPanel.getComponentAt(arg0.getX(), arg0.getY())).getIcon();
System.out.println(returnString);
I did this and it works.
Type: Posts; User: sebbe605
Icon returnString = ((JLabel) mediaPanel.getComponentAt(arg0.getX(), arg0.getY())).getIcon();
System.out.println(returnString);
I did this and it works.
Im trying to get the defaultIcon from getComponentAt()
mediaPanel.getComponentAt(arg0.getX(), arg0.getY())
And i get the putput: