Posts by Vinícius Novelli • 173 points
12 posts
-
1
votes1
answer9967
viewsQ: PHP Accuses Curl Not Installed
I downloaded the . exe from the official website, attached the system variable and tested. Everything working. But when I go in my PHP program it always gives the same error: Fatal error: Call to…
phpasked Vinícius Novelli 173 -
1
votes1
answer35
viewsA: File variable with output [Ljava.lang.String;@
I found the error using the method instanceof in the object, I was able to transform into String straight. For those who have the same doubt, here is the code: for (Object obj : objArr) { if (objeto…
javaanswered Vinícius Novelli 173 -
0
votes2
answers754
viewsA: how to access the jbutton that is in the other class?
Get a button in the main class: public JButton getBotao() { return seuBotao; } In the other instance class the main: ClassePrincipal controle = new ClassePrincipal(): And your code will stay that…
-
1
votes1
answer35
viewsQ: File variable with output [Ljava.lang.String;@
When I do a Sysout of my variable type File, I get this output: [Ljava.lang.String;@3e92957f And my sysout is like this: System.out.println(entrada.getPath() + " " + saida.getPath()); The funny…
javaasked Vinícius Novelli 173 -
1
votes1
answer1738
viewsQ: Search using Jtextfield and Jtable
I have a question as to the research on a Jtable using Jtextfield. When the person enters the Work name in Textfield and click Search, in Jtable is to appear the search result. My question is this:…
-
2
votes1
answer1433
viewsQ: Doubt with Preparedstatement with INNER JOIN in Java
I have a question about using Preparedstatement with INNER JOIN, here’s my code: public List<Emprestimo> pesquisar() throws SQLException { List<Emprestimo> listaEmprestimo = new…
javaasked Vinícius Novelli 173 -
2
votes1
answer91
viewsQ: Display tree format directories
I have this code here in JAVA where I need lists of folders and subfolders in tree format, but I can’t get it. Any help? package Control; import java.awt.Desktop; import java.io.*; import…
javaasked Vinícius Novelli 173 -
1
votes1
answer104
viewsQ: Stackoverflowerror in recursive method when traversing folders and subfolders
This recursive method: public static void percorre(File caminho, String espaço){ if(caminho.isDirectory()){ for (int cta = 1; cta <= nespaço; cta++){ buffer.append(espaço); }…
-
-1
votes1
answer701
viewsQ: Browse recursive directories in JAVA
I’m doing a work for the college on how to go through directories with java recursive and so far I have this code here: package Control; import java.awt.Desktop; import java.io.*; public class…
javaasked Vinícius Novelli 173 -
3
votes2
answers110
viewsQ: Build error when sending to third party check
I am practicing Java in SPOJ and came a simple exercise: Keep typing a number and when 42 appears, stop printing. And so I did quietly here on my PC compiling in the expected way. The problem is…
javaasked Vinícius Novelli 173 -
3
votes1
answer209
viewsQ: How to find specific values in a String?
I have to get the Ethernet adapter + IPV4 from Windows, until then everything is quiet. I ran the process and stored everything in a String Buffer and sent it back: public String IP (String tarefa)…
-
0
votes0
answers182
viewsQ: Decision Structure in Assembly
I’m programming in Assembly and here comes a mistake. To summarize, I have to make a framework to check two real values and so go for the rest of the program. Well, that was the idea. To illustrate…
assemblyasked Vinícius Novelli 173