-3
I created two screens, one main and one that I intend to call using a button, as it would be the appropriate method to call this secondary screen?
-3
I created two screens, one main and one that I intend to call using a button, as it would be the appropriate method to call this secondary screen?
0
findViewById(R.id.botao).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent variavel = new Intent(context, classeSegundaTela.class);
startActivity(variavel);
}
});
Browser other questions tagged java javafx fxml scenebuilder
You are not signed in. Login or sign up in order to post.