Posts by G1Win • 97 points
8 posts
-
3
votes2
answers207
viewsQ: UF field that accepts only 2 uppercase letters
I am trying to create a specific field for UF, in which only 2 capital letters will be allowed. I tried to use regular expression, but I couldn’t. Could someone give me a helping hand? public class…
-
0
votes1
answer111
viewsQ: How to select multiple checkBoxs?
I have a loop for, in which I create a new checkBox every time it goes through the/loop routine. I am adding these "checks" inside an item of a treeTableView. I wanted to know, how could I mark all…
-
2
votes1
answer110
viewsQ: How to modify phone field?
I have a stylized component with phone formatting as follows (XX)XXXXX-XXXX I’d like to know, how can I withdraw the DD part (XX), so that the field stays just like this: XXXXX-XXXX I tried to…
-
0
votes1
answer191
viewsQ: How to run event without initially clicking on radio button?
How do I make a selection event from radioButton be started by default ? I determined that mine radios buttons will call some methods when selected, I did within the initialize, however, the way…
-
0
votes1
answer152
viewsQ: Clean components within a tab
I have a method that cleans my components, however, it cannot clean the components that are inside a Tab. I was trying to apply it this way: if (fieldValue instanceof Tab) { for (Tab tab : ((Tab)…
-
2
votes1
answer250
viewsQ: Matching of combobox contents
How to make the options of the comboBox, correspond to numerical indexes? Example, in my bank I save only numbers from 1 to 8. And in the application I show my user names, I want these names to…
-
-1
votes1
answer183
viewsQ: Addall items in combobox
I have a ComboBox, and I am trying to put items (string values) but it is not accepting. I did it this way: private ComboBox<?> meuCombo; public void combos() { meuCombo.getItems().addAll("A",…
-
2
votes1
answer268
viewsQ: How to increase the number of decimals after the comma?
How can I make the field display 0.0000 for example ? By default it only arrow 2 houses, I’m not able to increase. Example: import javafx.beans.value.ChangeListener; import…