Questions tagged as 'java'

0
answers

How to configure Visual Studio Code for Java? [closed]

First, I would like to greet all those who make up this great community of developers and congratulate them for creating such an excellent community. Well, the problem that is presented to me today is that when I started with java I decided t...
asked by 27.03.2018 / 01:10
0
answers

Problem with datatable primeface: lag when editing [closed]

I have a datatable that has one of its columns editable. My problem is that when I write in one of the boxes of that column, one of these situations happens to me. 1. It does not focus on the first attempt: I click on the box but the course...
asked by 27.03.2018 / 19:42
2
answers

how to add to a tree correctly

I have tried to work with this function but the only thing it does is fill the root I try to make a binary tree and when I input the values the only thing it does is the root does not add children neither to the left nor to the right what happen...
asked by 27.03.2018 / 17:14
0
answers

Lucene IndexWriter.addIndexes does not merge indexes

My problem is this, I have a code that apparently is fine. What I try to do is join 2 indexes located in 2 folders. The code is as follows public static void addIndices(String indexPath, boolean create) throws IOException { Analyzer an...
asked by 16.03.2018 / 23:23
1
answer

How to compare hour system against a set time

I need to compare a set time against the system time, but I jump to the message "there is nothing", please help me determine what I need so that at the end I get the message "hello" when that time is in the system. This is the code: package...
asked by 03.04.2018 / 04:28
1
answer

How to compare a Date date in java?

I have the following table, which shows a column called validity <p:dataTable id="horarios1" rendered="#{ConsultaPersonasUnidadFisicaComponent.muestraHistorial}" var="consultaHorario" style="max-width:3000px;max-height:770px;" value="...
asked by 07.03.2018 / 17:07
0
answers

Error NoSuchMethodError in the constructor with int

I have this program: package prueba; import clases.Persona; public class Descuentos { public static void main(String[] args) { Persona p = new Persona(); p.setEdad(20); } } and this class: package clases; public class...
asked by 07.03.2018 / 08:46
1
answer

Jodatime work alone with hours and minutes

I am working on a project in which I have to add hours from a set time as:    00:00 this data is a String to which I must go adding hours and minutes related to some work parts. I'm using Jodatime that I think is more useful than...
asked by 07.03.2018 / 18:13
0
answers

check if an accessibility service is activated

I'm creating a direct access to the accessibility settings in android, my goal is after activating the service is that my application comes back and no longer shows the activity to call that screen. 'activarccesibidad = (ImageButton) findViewB...
asked by 12.03.2018 / 22:47
1
answer

Print an arrayList that stores strings from a .csv file

I'm doing a tour of a .csv file and I save it in an array for the idcase and another for activity, and then I print it, and at the time of printing it prints each iteration of each activity as I show in the following: 1[register request]...
asked by 12.03.2018 / 20:20