Results 1 to 3 of 3
  1. #1
    talia is offline Member
    Join Date
    Dec 2011
    Location
    London
    Posts
    11
    Rep Power
    0

    Default help with images

    I have to write a supermarket type software for my assignment, I have different products in the system. At the moment, it is possible to check each product using ComboBox, selecting a product will bring out the details of it and displays it. I use text files to store the product details in and use bufferedreader to display them. i now have to match every product with a picture, that needs to be displayed whne product seleceted, what is the best way of doing this?

    thanks for replies....

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,759
    Rep Power
    7

    Default Re: help with images

    Check the ImageIcon class.

  3. #3
    talia is offline Member
    Join Date
    Dec 2011
    Location
    London
    Posts
    11
    Rep Power
    0

    Default Re: help with images

    Thanks, took me some time to figure out how ImageIcon works (very simple, lol), now is all working fine....

Similar Threads

  1. Too many images
    By jimmyNeutron in forum Java Applets
    Replies: 6
    Last Post: 03-24-2011, 03:50 PM
  2. Replies: 0
    Last Post: 12-16-2010, 05:14 PM
  3. Replies: 4
    Last Post: 12-16-2010, 04:32 PM
  4. images
    By amith in forum AWT / Swing
    Replies: 1
    Last Post: 05-20-2008, 10:54 AM
  5. Images in JSP
    By Daniel in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 06-05-2007, 06:01 AM

Posting Permissions

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