Help me creating GUI with event | SoloLearn: Learn to code for FREE!

0

Help me creating GUI with event

background color panel as black when the mouse is pressed and white as when the mouse is released

5/18/2020 2:45:33 PM

Alke Mist

2 Answers

New Answer

0

Hello Alke Mist Which framework are you using? Swing or JavaFX? And which object should get this mouse event?

0

create a class that implements MouserListener, there Override all abatracts methods.