Questions tagged as 'java'

1
answer

Problems with JasperReport

I'm using netbeans 8.2 And this is the code that I occupy and mark the following errors These are the libraries Can someone help me?     
asked by 24.11.2018 / 22:04
1
answer

search for data from one table to another and print

Good to everyone, I have two lists that I call from a database of different tables: listat = personNE.list(); listah = historicot2NE.list(); int inter1 = listat.size(); // 81 datos int inter2 = listah.size(); // 18 datos...
asked by 23.11.2018 / 17:21
0
answers

Alternative to abortBroadcast, Android Studio

I have been looking for a way to block the SMS to the default inbox on mobile phones when I am running the application (that I have to do only at a certain number for example, issuer 546513224). In the search I found that before it could be done...
asked by 23.11.2018 / 17:11
0
answers

Maintain active session of a parent system while the child system is active?

I have a Java EE system with JBoss that works as the parent of other independent children systems. The system exists but I must make changes to it and the concept I have is the following. This parent system has its own session, and when pr...
asked by 22.11.2018 / 19:21
0
answers

Problem in ClassCastException from RelativeLayout $ LayoutParams to RecyclerView $ LayoutParams

When running the following line on android: recyclerView.getChildAdapterPosition(view); Skip the following Exception: java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.support.v7.widget.Rec...
asked by 24.11.2018 / 11:17
0
answers

What data structure can I occupy in my problem? (acm 2014 Baggage)

the problem is to order an array that contains 2n pairs of letters of the form BA but can not be ordered in an ordinary way, it has to be ordered by moving block from to 2 (I can not move just one letter) example n = 4: BABABABA public...
asked by 23.11.2018 / 16:08
0
answers

get location after a get request with cookie

My goal is to get the location after a get request with authentication public class desZip { public static void main(String[] args) { try { System.out.println("Imprimiendo Response Header...\n"); HttpClient client = new Defau...
asked by 22.11.2018 / 16:08
0
answers

How to use SPLIT in a binary tree data structure to separate a txt file

I need to create a binary tree in java that reads a txt text externally and that each word stores it in a node so that when I want to search for that data, I'll do it all in automatic.     
asked by 07.12.2018 / 16:38
0
answers

Signature xades epes in XML

I'm trying to sign an xml document in JAVA for electronic invoicing in Colombia, and I found some bookstores like xades4j, but when I include the jar of this library in my project and use one of its examples, I get that even some functions are n...
asked by 22.11.2018 / 16:21
1
answer

How to add values to a detail without duplicating them

Good morning everyone I hope you can help me with this doubt I have a table in java where I load records from my table detail in sql server, as shown in the image. The fields that the table has in the database are the same as those in t...
asked by 21.11.2018 / 20:16