André Fagundes

+ Follow
since Sep 01, 2019
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by André Fagundes

I can capture to file but it is in java, and it is not working in FX, I can program events but I am not finding a code that captures from textField and writes to local file.
1 week ago
How to capture text typed in TextField to .txt file, by button click?

               grid.add(new Label("Nome:"), 0, 0);
TextField txtNome = new TextField();
GridPane.setHgrow(txtNome,  Priority.ALWAYS);
grid.add(txtNome, 1, 0);

               HBox buttonBar = new HBox(5.0);
Button btnGravar = new Button("Gravar");
1 week ago
I'm using LinuxMint, and UTILITY doesn't work very well, the minimize some button, but the maximize button doesn't.
Not even using (primaryStage.setResizable (false);) in conjunction with (primaryStage.initStyle (StageStyle.UTILITY);).
I'll leave it there, there are millions of people on the net looking for how to do but no one has the solution.
I will leave with the same minimize and disable the close button and only.
2 weeks ago
If I use UNDECORATED it will disappear the border and the title too, I don't think it's cool.
2 weeks ago
I do not need to prevent anything, I just do not want the bar to be maximized or minimized and to be closed only when everything is ready to close otherwise a message will be sent pointing out what the user forgot to do.
The maximize button is easily removed, the close button is easily disabled I see no reason why minimizing has no way to do such an action ...
2 weeks ago
It won't stop, but the bar won't leave the screen until it's closed.
2 weeks ago
I am creating an application for a company, it is a button bar that calls windows that are below the button bar.
The bar will do almost every action, call windows, close, all via programming.
I have seen applications that do not have or are disabled these buttons.
Already solved with the maximize buttons (managed to remove) and close (managed to disable), just not finding how to remove or disable the minimize button.
Employees should only work with this application on the computer and nothing else.
I sent here an image of the application I am developing.
2 weeks ago
How to remove window minimizing without removing decoration?
2 weeks ago
I did it like this:

package application;

import javafx.application.Application;
import javafx.geometry.Rectangle2D;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Screen;
import javafx.stage.Stage;

public  class Janela3 extends Application  {

public static void main(String[] args) {

public void start(Stage secondStage) {
secondStage.setTitle("Window");  // Titulo da Janela

BorderPane root = new BorderPane();   //Layout Principal

Scene scene = new Scene(root, 1366, 70);  //Cena para layout Principal.
secondStage.setScene(scene);  //Seta cena a janela

       Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();
       secondStage.setX(primaryScreenBounds.getMinX()); //Define os limites do palco no canto superior esquerdo dos limites visíveis da tela principal
2 weeks ago
Want to know how do I get the JavaFX window to open on top of the monitor instead of the middle of the monitor?
2 weeks ago