Questions tagged as 'java'

0
answers

Problems adding ParseUser to an ArrayAdapter

I'm a beginner in java programming, I'm trying to get a specific ParseUser and send it to TimeLineFragment but it always gets null, I've done several tests, but it always gets null public class TimeLineFragment extends Fragment {...
asked by 07.07.2018 / 03:22
0
answers

I can not get JTable value [duplicate]

So, I was trying to look up values in a JTable, testing if what's in the x-line and y-column hits an object, but it's not going at all and I do not know why. I've tried everything = ( public Integer[] getRowIndex(Object value, int column) {...
asked by 07.07.2018 / 14:38
0
answers

LDAP Java authentication on windows

I would like to know how to get user login name with ldap in java, follow my code public class ConexaoLDAOP { public static void main(String[] args) throws NamingException { String nome = "cn=Fulano,OU=USUARIOS,OU=TI,OU=Ep...
asked by 13.07.2018 / 16:54
0
answers

Queries for reports in Java With JasperSoft

I need to create a dynamic report with queries involving more than one MySQL table. Whenever I run a new query, the fields in the previous query are replaced by those in the new query. Is there any solution to this? Is it possible to do more tha...
asked by 10.07.2018 / 16:24
0
answers

CDI interceptor does not recognize Priority variable

So folks were following this tutorial: DataSource in Tomcat only when implementing the part of CDI of the project I ran with the following error: com/mycompany/soft/util/TransactionInterceptor.java:[13,22] cannot find symbol symbol: vari...
asked by 04.07.2018 / 04:40
1
answer

How to make a Java algorithm that can measure the runtime of the Heap Sort sort algorithm?

I started my algorithm in this way so that it is able to measure its execution time, but I'm not sure if it's right, like continuing with an example: package heapsort; public class Heapsort { public static void main(String[] args) {...
asked by 04.07.2018 / 16:05
1
answer

Treating associative JSON in PHP

I have a Java application: Gson gson = new Gson(); String json = gson.toJson(pedido); DataServiceGenerator dataServiceGenerator = new DataServiceGenerator(); Webservice service = dataServiceGenerator.createService(Webservice.c...
asked by 05.07.2018 / 01:59
0
answers

How do I recover the name and user of the firebase?

Hello, I'm new here and I've already had problems, kkk. Well, after several tutorials I was able to create users to my application and save email, name and password. I would now like to be able to recover after logging in, and show the nam...
asked by 04.07.2018 / 04:24
0
answers

Problems with SQLiteHelper

Hello, I have a SQLiteHelper project and I'm having trouble reading SQLiteHelper, the app only runs without it, when I try to use it it gives an error, the application hangs, if anyone can help me find where the error is, thank you.  follow the...
asked by 03.07.2018 / 07:00
0
answers

Popular listview with bank data

I have the method that queries the data in the database and a listview above to list this data, but I do not know how to pass the data of the method to the various items so that it is displayed by listview . import android.content....
asked by 29.06.2018 / 19:10