Results 1 to 1 of 1
04-01-12, 08:15 PM #1
Java, Color reference & paint component issue
Ok so hes my situation. I am writing an application with several panels that need to know about a single common color. So I thought my solution was going to be have the JFrame hold a color object, and each of the panels when they are constructed are passed the color object. Ok so one of the panels must be capable of updating the color so I used a color chooser to update the panels Color object. I know whats happening is that a new object is being assigned to the local reference, but shouldn't that propagate through to the other panels?
The other small issue I am having deals with repaint(). Basically my center panel is updating everytime a control is activated from panels a or c which is infact working. However the problem is that its not discarding the original images its just drawing over them. Resizing the window fixes the graphics.Life is what you make of it, we exist for the sole purpose of existing. Dont waste the universe efforts!
All statements, imagery, and ideas contained within any writings are merely retold tales of fictional acts by a figment of the universe imagination.
So your looking for an AMD FX motherboard, things you need to know. Whats the max safe temps/volts for an FX?
Green Gorilla, CM 690-II nVidia, FX 8320, GTX 670, liquid cooled
Liquid Fusion, CM 690-II, A8+6670 Dual GFX, liquid cooled
Extreme evaporative water loop 450mm^3 water cooled beast - Incomplete