Created
February 9, 2023 00:30
-
-
Save CarlosHenriqueDv/d5cc0e2bdc229fc92b4c1c5f580512e8 to your computer and use it in GitHub Desktop.
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 App { | |
private Painel painel; | |
private Botao botao; | |
public App(GuiFactory guiFactory) { | |
this.painel = guiFactory.criaPainel(); | |
this.botao = guiFactory.criaBotao(); | |
} | |
public void configuracaoGuiApplication(){ | |
System.out.println(this.painel.tipoPainel()); | |
System.out.println(this.botao.tipoBotao()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment