Results 1 to 3 of 3
  1. #1
    Tamahahawk is offline Member
    Join Date
    Jun 2013
    Rep Power

    Question Need help with a java roll-over (color changer)


    I am brand new to this forum, but I am very familiar with html and code.

    I have a project I am working on. It is for a metal roofing company. And what I am trying to do is to create a color changer. As you roll your mouse over the different colors the color of the metal roof will change with each color. I have done this before with Flash and it was very code intense. I believe there is a way to do this using java. I would like to keep the characteristics and details of the picture just change the color only on each rollover.

    Any ideas?

    Thanks in advanced for any help you can throw my way!

    -TamahahawkNeed help with a java roll-over (color changer)-house_9_large.jpg

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: Need help with a java roll-over (color changer)

    A color is composed of red, green and blue RGB; e.g. the roof in that picture is red-ish so the R component is significantly higher than the G and B components. You want to change a certain color if its components are in the range [Rmin, Rmax] [Gmin, Gmax] and [Bmin, Bmax]. How you want to change the components is entirely up to you ...

    kind regards,

    Build a wall around Donald Trump; I'll pay for it.

  3. #3
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    The Netherlands
    Rep Power

    Default Re: Need help with a java roll-over (color changer)

    I am not into image processing, but here's a guy who is: Jerry's Java Image Processing Pages
    He made a bunch of filters that are useful for either using directly or learning.

Similar Threads

  1. problems with simple roll down menu in java
    By Krtek80 in forum New To Java
    Replies: 5
    Last Post: 09-24-2012, 04:44 PM
  2. JSlider - Color Changer
    By icebato in forum AWT / Swing
    Replies: 3
    Last Post: 12-21-2010, 03:21 AM
  3. Roll The dice
    By Subhanrukh in forum New To Java
    Replies: 8
    Last Post: 04-19-2010, 08:39 AM
  4. Need help with java rapid roll game
    By blunderblitz in forum New To Java
    Replies: 1
    Last Post: 03-02-2010, 12:36 PM
  5. keyword color changer
    By aisaki in forum New To Java
    Replies: 0
    Last Post: 08-05-2007, 03:12 PM

Tags for this Thread

Posting Permissions

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