how to change the background image of Jtable Cell

Discussion in 'Java' started by get_moumita, May 2, 2006.

  1. get_moumita

    get_moumita Guest

    I want to change the background image of a cell in a JTable,when i
    click on it...
    plz help...
    get_moumita, May 2, 2006
    1. Advertisements

  2. get_moumita

    Rhino Guest

    It sounds like you will need to write a custom cell renderer or editor to
    accomplish that. This article will give you the basics of how to write cell
    renderers and editors:

    This article is more advanced and gives considerably more information on how
    cell renderers and editors work: It doesn't actually
    talk about how you can change background images within a renderer or editor
    but you will probably be able to reason out how to do that from this
    Rhino, May 2, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.