Created
February 9, 2023 00:11
-
-
Save CarlosHenriqueDv/ce482fd6181b9307deea6b767a62b9b5 to your computer and use it in GitHub Desktop.
fábrica concreta windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WindowsGuiFactory implements GuiFactory { | |
@Override | |
public Painel criaPainel() { | |
return new PainelWindows(true); | |
} | |
@Override | |
public Botao criaBotao() { | |
return new BotaoWindows(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment