Thanks for the help, man. It works now as I used ImageIO.read(InputStream) instead of url directly.
Type: Posts; User: iHank
Thanks for the help, man. It works now as I used ImageIO.read(InputStream) instead of url directly.
From within the constructor the getImage-method is called and it works perfectly. When I'm clicking at the JButton the actionPerformed-method is called, and within it the getImage-method is also...
Hello!
I have a JFrame containing a JLabel, JButton and a JScrollPane like:
JButton b = new JButton();
JLabel l = new JLabel();
JScrollPane s = new JScrollPane(l);
From the constructor a...