Results 1 to 2 of 2

Thread: ImageIcon HELP!

  1. #1
    ben1989 is offline Member
    Join Date
    May 2010
    Posts
    13
    Rep Power
    0

    Post ImageIcon HELP!

    I would just like to know a way of setting an ImageIcon's image, I know to use setImage and imageIO.read but im having trouble with syntax could some please show me an example of this bit of code please? Thank you :).

  2. #2
    curmudgeon is offline Senior Member
    Join Date
    May 2010
    Posts
    436
    Rep Power
    7

    Default

    Per the last reply in your previous thread, how about showing us your code attempt with code tags, and with the error messages.

    http://www.java-forums.org/java-appl...con-image.html
    Last edited by curmudgeon; 05-05-2010 at 10:04 PM.

Similar Threads

  1. Netbeans Help JButton Imageicon
    By hitmen in forum AWT / Swing
    Replies: 1
    Last Post: 02-19-2009, 08:56 PM
  2. ImageIcon background
    By Yannick in forum New To Java
    Replies: 11
    Last Post: 02-12-2009, 05:13 PM
  3. send imageIcon over RMI
    By nadia in forum Advanced Java
    Replies: 4
    Last Post: 01-06-2009, 04:41 PM
  4. ImageIcon and size
    By wokena in forum Java 2D
    Replies: 3
    Last Post: 12-21-2008, 09:47 AM
  5. Detect loading of ImageIcon from URL?
    By barkster in forum Java Applets
    Replies: 1
    Last Post: 01-29-2008, 08:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •