Search:

Type: Posts; User: iHank

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    2,027

    Re: Update JLabel with new ImageIcon

    Thanks for the help, man. It works now as I used ImageIO.read(InputStream) instead of url directly.
  2. Replies
    5
    Views
    2,027

    Re: Update JLabel with new ImageIcon

    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...
  3. Replies
    5
    Views
    2,027

    Update JLabel with new ImageIcon

    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...
Results 1 to 3 of 3