Questions tagged as 'java'

1
answer

Why not insert in the database?

Why does not the following insertion code in the database work? The code arrives until Joption "has arrived!" private void btnCadastroActionPerformed(java.awt.event.ActionEvent evt) { String sql...
asked by 04.06.2016 / 03:36
1
answer

I can not save a query in the database. Display errors

I'm almost two weeks old with this problem in my android code, I've researched some forums and nothing, so I'm kind of desperate for help. I'm new to android, if anyone can help me. Follow the codes: New Query.java: public class NovaCons...
asked by 01.06.2016 / 15:22
0
answers

Application java client server updating db mysql and txt file

Thanks for the attention, apparently everything is ok, when I use localhost it works. On the server side I saw some place that I have to do implementations, but it was not clear, for example, I have to have CRUD and DAO also on the server side a...
asked by 02.06.2016 / 13:37
1
answer

Login screen problem, if user logged in redirect to home screen

Good afternoon, I have a system, I was able to filter in case the user is not logged in, redirect to the login screen. But now I'm trying to do the opposite, in case the user is logged in and he tries to access the login screen, redirect to the...
asked by 01.06.2016 / 21:19
1
answer

Webview Javascript calling method java - android

I have a webview app that calls an index.html: WebView webView = (WebView)findViewById(R.id.webView); webView.getSettings().setJavaScriptEnabled(true); webView.setWebViewClient(new webViewClient()); webView.loadUrl("file:///android...
asked by 21.06.2016 / 07:21
1
answer

Addition in an autocomplete

I have an autocomplete with the code below. <p:outputLabel styleClass="rotulos" value="Fornecedor:" /> <p:autoComplete id="inputfornecedor" update="msgcontapagar" value="#{contapagarBean.object.fornecedor}" effect=...
asked by 21.06.2016 / 20:00
0
answers

Open txt file within a folder and edit file information

The design of a clinic is already registering and listing the patients and their respective txt files, now the doctor will see all the patients listed and he has to enter the full patient name, which is just the name of the txt file. When doing...
asked by 21.06.2016 / 17:05
0
answers

datasource connection, error when uploading JBoss

I'm trying to make a data source connection in JBoss, but without success. I've seen this tutorial to create my connection. Then the error occurred:   I have tried other tutorials, but in all of them I get the same error: Configuratio...
asked by 31.05.2016 / 21:19
1
answer

Export Project with Images

So I did a game in Eclipse and I'm trying to export it to a jar file only to no avail. Export works, but the images do not go together at all ... Here is an example of how I am instantiating the images: private Image imagem; ImageIcon a = new...
asked by 21.06.2016 / 20:33
1
answer

java.nio.file.AccessDeniedException error while doing video thumbnail

I'm trying to create a thumbnail of a video using JCodec.jar. On my "localhost" machine, it works perfectly, however when trying to do the same process on the server. obs: I am using a Debian server it gives error and returns this log to me. If...
asked by 30.05.2016 / 20:21