prepare a gui called hotplate gui that holds a


Prepare a GUI called Hotplate GUI that holds a central panel that draws a rectangular grid that represents Element objects which should be held in a 2-dimensional array. The application should listen for mouse events and when the mouse is dragged over a drawn element its applyTempToElement method should be called along with passing an applied temperature to it.

This applied temperature should be able to vary and can be set with a JSlider temperature gauge. The GUI should also use a Timer that constantly repaints the panel with all the Element objects in it. Each element should uctuate from the colour Blue (cold) and Red (hot) on the hotplate as their corresponding temperatures increase or decrease.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: prepare a gui called hotplate gui that holds a
Reference No:- TGS0207773

Expected delivery within 24 Hours