Posts by Julio Cesar • 161 points
12 posts
-
0
votes3
answers658
viewsA: Javafx: Location is required
AnchorPane fxmlMain = (AnchorPane)FXMLLoader.load(getClass().getResource("/view/ViewLogin.fxml"));
-
0
votes1
answer184
viewsA: Nullpointer Java Even if you initialized the variable
Hello, the best way to send information from a Controllers1 to a Controllers2 is to use the constructors of the classes by passing the Controllers1 parameter in the Controller construction2. This…
-
0
votes1
answer410
viewsA: I can’t run script in the STS plugin in Eclipse
to resolve the pom.xml, checks that you have installed the plugin m2e no eclipse; here I leave the link, http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/LATEST/…
-
0
votes1
answer288
viewsA: Access a textField that is inside a gridPane in javafx
the method getChildren() returns a type object Node, You should ask if the node is of the type TextField. You may ask: if(node instanceof TextField) and then do the following;…
-
1
votes1
answer111
viewsA: How to select multiple checkBoxs?
The class Checkbox has the method setSelected(Boolean), with it you will manage to change the status. to recover the value of checkBox should use the following…
-
1
votes2
answers680
viewsA: Javafx how to close an internal Anchorpane
you can use the method setVisible() to hide and show the AnchorPane, in the button action fecharPane() should only add the following @FXML public void fecharPane(ActionEvent evt){…
-
1
votes1
answer191
viewsA: How to run event without initially clicking on radio button?
@G1wing will depend on what you want to do and on which object, you will use bind(). For your code to work vc must arrange the order of execution, remember, the order of execution of the codes is…
javafxanswered Julio Cesar 161 -
1
votes1
answer318
viewsA: Grab text from Scene Builder to create account screen
Do not understand your question, but to get the value of a TextField, just have to use the method .getText(). In the contolator, in the method initialize, does not need to re-initialize the…
-
4
votes1
answer119
viewsA: Jasperview closing the entire system
The problem that is happening is that the method show(), class JasperReportBuilder, by default it will true in EXIT_ON_CLOSED, simply have to pass false to the method, the class JasperReportBuilder…
-
0
votes2
answers2062
viewsA: How to exclude white spaces
You can use the Scanner class Scanner s = new Scanner(text); String t = null; while (s.hasNext()) { if(t == null) t = s.next(); else t = t +" "+s.next(); } System.out.println(t);…
javaanswered Julio Cesar 161 -
-1
votes2
answers556
viewsA: Javafx Enter by TAB
Hi, you can use this method, you have to pass a Textfield list of the form, with the order in which you want to happen Focus . public void setNextFocus(TextField... texFiels) { for (TextField txt :…
javafxanswered Julio Cesar 161 -
1
votes2
answers588
viewsA: Load table view with Observablelist
You must define which class belongs to the table and the same for the columns, would look like this: private TableView<\Prova> prova; private TableColumn<\Prova, String> colID;…