Questions tagged as 'java'

1
answer

Join video (with sound) and external audio

I need to join a file mp4 (with audio included, recorded from the camera), a song in mp3 (or aac , or the format that is, I am indifferent in this case). The only condition is that I can not use FFMPEG . I found on the...
asked by 21.10.2016 / 14:03
1
answer

Create pdf report with ireport in netbeans with JSON as datasource

I am new programming in java and I have encountered a small problem, I am generating a pdf report taking as datasource a JSON file, but I have not managed to pass the JSON to JasperFillManager.fillReport to generate the pdf, if I c...
asked by 14.10.2016 / 21:49
1
answer

Caused by: java.lang.VerifyError: Bad type on operand stack

I have an error running the play framework, I get the following error: The error is the class: /** * Método que extrae todas las palabras clave de los nodos que conforman el diagrama * @return HashMap Estructura con los listados d...
asked by 18.10.2016 / 23:28
1
answer

Problem when comparing one to one letters of two strings

Hello the problem says like this:    Create a class whose main method executes a letter-by-letter comparison using two-word equals using loops.       For example, if the words are “avispa” and “ave” the program should result in...
asked by 30.03.2017 / 01:20
1
answer

doubt with algorithm

I have to develop an algorithm that calculates the average speed of the orders that were delivered. This is calculated based on the production times and the number of units that each order has; but these are taken into account according to a dat...
asked by 09.10.2016 / 06:30
2
answers

java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date

I have had a problem when returning a value of BD mysql null in '0000-00-00' format The error that occurs is:    exception       javax.servlet.ServletException: java.sql.SQLException: Value '0000-00-00'> can not be...
asked by 31.03.2017 / 23:05
3
answers

Change from one fragment to another by means of a button

What I try to do is move from one fragment to another when a button is pressed, the code I am using is: public class DimensionFragment extends Fragment { Button Bmeters, Bfeet; @Override public View onCreateView(Layo...
asked by 26.04.2017 / 18:19
1
answer

Comparison of two battery elements

Good, I'm doing a job for my university, this consists among other things in inserting caracateres in 3 batteries, 1 of them has a sequence which we want to find in the other 2 batteries. The problem is that in the method Comparar that...
asked by 04.05.2017 / 01:32
1
answer

modify jlabel according to user logged in java

I need to modify a Jlabel of the main page according to the user that has logged in in the Login Frame. I leave the code that I am working on, in case you can help me. I remain attentive to your answers void generarNombre() { String...
asked by 21.08.2018 / 20:08
2
answers

Do they work the same removeAll and retainAll in the Collections interface?

removeAll (Collection c) Delete all objects in the collection that are in c. retainAll (Collection c) In the collection that it invokes, only those objects that are in c (intersection) will remain. My question is, do they work the same...
asked by 15.06.2016 / 13:50