Ricardo Roa

Ranch Hand
+ Follow
since Oct 22, 2018
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ricardo Roa

this work for me!

4 years ago
Hello Coders  I solve most of my JAVAFX code problems, but i have and issue here that don't understand and is this: I have a Diferent problem showing a barchart correctly, when i load the funcion directy in the initialize method everything is allright, but when i want to load that same method with a mouse event the date label dont show Correctly.

This is my code:



I give the Combobox the next value:



now if the combobox has that value in the list i load the method with a mouse event




in the initialize method i got this:



this is when i load directly the method generaindicador in the initialize method:

4 years ago
i modified all the code, so now i want to add the button in the  fxmlloader, but nothing still happen:

this is the code.

4 years ago
I do this, but nothig happened, the button always  is Disabled.




4 years ago
Ok I will do that, but can you give me guidance or example that how i can disabled the button when the user login whit the correct permissions.
4 years ago
Hello tim , the query show the expect results, but the I am no so sure about the Disable method ( btn1.setDisable(true) or false ) in that cases are working, the query show row by row but the method only validate the last row, how I can validate row by row and disabled the button?
4 years ago
Hello Again, this is important to me so i need a colaboration here, i am trying to disable a button when the user log in ,but i am using the user , rol,  pass, and permission so when the user login must validate that, but the button always is enabled. the code is in the AdminScreenController:


Code for the AdminControllerScreen:




I need some guidance here.
4 years ago
I upgrademy code, but nothing happens whit the change you suggest:

Main Controller:



this is in the ScreenAdminController:




this is the ScreenAdminController FXML code:



the button must disabled when the user Log in
4 years ago
Hello i Have this portion of my code, I actually need disable the button when the user is loggin, I am trying to pass the button to the FXML, but nothing happens: this is the code in the Main Controller



This is in the AdminScreenController:








its something wrong? i need some orientation here. thanks.
4 years ago
nothing happens in the else clause. can you review the code of that block and tell what is happening?? regards.
5 years ago
How can i change that?
5 years ago
Hello I am doing certain Validation, I am Validating two Variables, both are string variables, I store in a String the Data from one column in a Resulset, and I Compare that data with another variable, and the if the two variables are identical, just display a message, if not the message say not identical or the variable does'nt exist at all, but I am having a problem, the message don't display in the else block, what i am doing wrong.? any ideas could be helpful.



5 years ago
I want to pass a String value of a First ComboBox in a Query to populate a Second ComboBox, therefore the condition in the query is this:, so I have two Methods, in the first one I populate Name Value, in the Second one a Nit values, I need to pass the Name value from the first ComboBoxin that query, there are the methods:



if anyone can give an orientation here could be helpful. regards.
5 years ago
I figure out, I just neet to remove this line

5 years ago
hello i have a problem   when i am trying to validate if the record exist in this method the alert dialog its ok appears  in the screen "registro no encontrado", but when i write the correct record to delete does not appear alert dialog "registro borrado correctamente" but it does delete the record, any idea what could possible i am doing wrong?, can anyone give me a orientation here?. regards.


     
5 years ago