Posts by Lucas João • 95 points
7 posts
-
0
votes1
answer25
viewsA: Python3 Tkinter error
Error happens because there is no attribution for the attribute photo class janela, he is simply called the first time in self.photo(file='imagem.png'). To add an image with tkinter, one of the…
-
0
votes1
answer144
viewsA: Error trying to export a constant in React
Strange this mistake you get. Anyway, I believe the solution is to realize a default import instead of a named import, since you make a export default. To do this, simply import the…
-
0
votes1
answer89
viewsA: Java.lang.Nullpoinerexception when trying to insert database data into a Jcombobox
Because of the log I believe the error happens within the clause try. Perhaps the attributes ps and rs are null, due to some problem in SQL query. Debugging this stretch with the use of breakpoints…
-
1
votes2
answers2112
viewsA: Mascara for money on android
I haven’t run every possible test, but I believe one of the ways to solve your problem is: String str = textoAFormatar; // argumento da sua funcao if (str.length() == 1) { str = "00" + str; } else…
-
0
votes1
answer144
viewsA: Using python to run the Notepad
It is possible to use the Pyautogui, which provides ways to control your mouse and keyboard. Or execute commands via subprocess.…
pythonanswered Lucas João 95 -
0
votes2
answers49
viewsA: Problem in my search engine code
What I understand from your question is that you are in trouble on line 129 of the picture. If this is really the case, I believe the problem is that you try to access an element of ArrayList with…
-
5
votes3
answers4668
viewsQ: How to compare one to one all the elements of two vectors?
Having two vectors of int of the same size, there is some native language function comparing the position x of the first vector with the position x of the second vector, doing this for all positions…
c++asked Lucas João 95