Define a class, Window, that implements the GUIComponent interface, and has the following members

java

LANGUAGE: Java CHALLENGE: Assume the existence of an interface, GUIComponent with the following methods: – open and close: no parameters, returns boolean – move and resize: accepts two integer parameters and returns void Define a class, Window, that implements the GUIComponent interface, and has the following members: – width, height, xPos, and yPos integer instance…

Read More