Give more than one event to a window [closed]

1

So I created a window in java, but I need to assign a different event to it depending on the time it is called. And the problem is, I can not do that. Is there a way to do it?

Window:

    
asked by anonymous 07.09.2015 / 19:36

0 answers