How to render colour according to location and signal strength.
Hi
Sorry if this is the wrong section.
Ive been trying to make a program that can take in a series of variables (X,Y,Z) and make an image out of them I.e get X and Y variables and at that location place a dot of grey that's lighter or darker depending on the value of variable Z. I am a bit of a noob at java and have no idea of where to start and how to do this.
Can anyone help me?
Re: How to render colour according to location and signal strength.
Consider creating a BufferedImage and setting the pixels on the image and displaying them in a JLabel's ImageIcon or a JPanel's paintComponent method.
Re: How to render colour according to location and signal strength.
Umm, I think I didn't quite stress how much of a noob I am, can anyone tell me where I can find out about those? I'm just after a way to make my microscope render something other than a series of line graphs.
Re: How to render colour according to location and signal strength.
The Java API will have information on BufferedImages. This site and many other will have many examples of working with them.