Questions tagged as 'java'

0
answers

Expandable ListView is not being made

Well here I am doing a program that takes data from a website and the target in an expandable ListView, I am getting this data and I have everything organized, the ArrayList "courses" is the Array that contains the titles of the main Array and F...
asked by 20.08.2017 / 20:29
0
answers

Transformer or Converter?

I have worked on some project and I come across situations where one particular object has to be transforming another. In general, it's java classes that originate in COBOL that I convert to another type, but with clearer and more intuitive c...
asked by 18.08.2017 / 01:59
0
answers

Error in passing Java parameter

I'm starting to learn Java and I'm having a problem with a simple code I've made. It is a program that reads a text entry and then prints on the screen, however when trying to compile this error occurs here    Exception in thread "main" java....
asked by 19.08.2017 / 15:39
0
answers

Load a DLL from within a jar

Hello, I'm currently working on a project where I need to create an API in Java for image processing and after that I have to integrate it into a Mobile module and a web module. But when I tried to do the first integration, an error occurred w...
asked by 18.08.2017 / 22:52
0
answers

Pick up information from the bank and add in inputs

I'm developing a web system and I'm having a hard time finalizing CRUD. The system is already saving my pacthpanel object, it has equipment registered to this patch. The information is being saved correctly in the database what I need is to brin...
asked by 19.08.2017 / 23:03
1
answer

How do I leave my Activity on 2 plan executing a function? [duplicate]

My project is to put a WebView in the Activity and when I leave the application, and it stays in the background, updating from time to time the Activity so that the WebView Web site updates too. someone help me?     
asked by 15.08.2017 / 20:40
1
answer

How to print selected items? [closed]

while(resposta == "sim"){ System.out.println("Informe o Numero do Produto desejado"); System.out.println("15 - Parafuso, 20 - Porca, 30 - Arruela"); cod_peca = scn.nextInt(); switch(cod_peca){...
asked by 09.09.2017 / 15:21
1
answer

Send json to webservice and return status

I'm taking a course from Caelum 36 but I packed up at one point I need to do this: curl -i -H "Content-type: application/json" -X POST -d '{"valor":"39.9","titular":"Fulano"}' http://localhost:8080/fj36-webservi ce/pagamento Only in the ter...
asked by 05.09.2017 / 23:45
1
answer

How to pass a class as a parameter in another class and return a variable that is inside a Thread

I work with Delphi and decided to learn how to make java applications, and I came across a problem. I have this class public class Dados { public void getJson(final String url) { new Thread(new Runnable() { @Over...
asked by 14.08.2017 / 14:44
0
answers

How to update the language of a JavaFX application at runtime

I have a combobox that contains the languages, when selecting it stores and I would like to already apply the language update. But I wanted to do it dynamically. The problem is that I do not know how to change the language. This method is...
asked by 13.08.2017 / 18:17