Posts by Leonardo Teruel • 69 points
6 posts
-
0
votes1
answer19
viewsA: Jbutton Netbeans Java
You can know when the mouse is on the button or any other element with this code: button.addMouseListener (novo MouseAdapter () { public void mouseEntered (MouseEvent e) { // seu código aqui…
-
1
votes1
answer59
viewsA: Is it correct to use bootstrap when finishing a project?
Bootstrap is a front-end framework. Using it from the beginning or in another sentence of the project is no problem at all. As long as the framework is configured correctly with all imported…
-
1
votes3
answers124
viewsA: How can a pointer point to a function?
Yes, the function turns into a set of instructions in machine code. This function instruction set is stored in a memory address, so for example if you can use the same function many times in the…
-
0
votes1
answer54
viewsA: Dimension of a vector passed by reference language C
If you have the array in its scope, you can use the sizeof function to find the size in bytes and use division to calculate the amount of elements, as follows: #define NUMERO_DE_ELEMENTOS 10 int…
-
0
votes2
answers117
viewsA: Autowired instance with null value
It would help to know the version you’re using, but come on. Use the Spring annotation @ComponentScan next to the @SpringBootApplication and configure the custom base package (you can specify a list…
-
1
votes2
answers136
viewsA: SPRING - Count the number of queries made in a request
Unfortunately, as far as I know, the Spring and Hibernate framework offers no function to count the queries being executed. It would be possible to turn on the Loggin query, but every executed query…