Questions tagged as 'java'

1
answer

Java Client via Telnet

Good, I am developing a java client to connect to a Unix server via Telnet, it connects me well without problems, it accepts commands and everything, but at the time of printing the on-screen menu does not recognize the vt100 configuration to or...
asked by 24.02.2017 / 13:08
1
answer

FacesContext.getExternalContext (). getRequestHeaderMap (); error mark

I'm trying to get a parameter of the URL with FacesContext.getExternalContext().getRequestHeaderMap(); But in that part of the code I get the following error: non static method cannot be referenced from a static context What would be t...
asked by 24.02.2017 / 22:16
2
answers

Update datatable when changing a p: inputText

Good morning I'm trying to make a loan system in which by typing an ID number inside a p: InputText through ajax it performs a search in the database and it gives me a Client idea is that when I look for this client I return a list of loans...
asked by 20.03.2017 / 15:34
1
answer

Azure Service Bus for Java

I have to program a client of an Azure Service Bus broker, in Java. The problem that arises is that I get this error when I start the application:    java.lang.ClassNotFoundException: org.apache.http.impl.client.HttpClientBuilder and I ha...
asked by 20.03.2017 / 12:52
1
answer

My TimePickerDialog and DatePickerDialog do not modify my EditText when I edit the person (Sqlite)

I have a clase that I use to add and edit people in my ListView with Sqlite , when I add a person my editTextFecha I edit it with TimePickerDialog and DatePickerDialog and it works perfectly, but when I e...
asked by 17.02.2017 / 17:07
2
answers

I need you to force me to change my TextView

I have a TextView that I fill with DatePickerDialog and TimePickerDialog , I also have to default by automatically adding the date and time of the day on which We are, because here is my problem. I have since I need to fi...
asked by 18.02.2017 / 13:47
2
answers

How can I read a zig zag matrix starting from the secondary diagonal?

I need to read them diagonally. so: I have managed to get the matrix to start from the reverse diagonal, but always from top to bottom .... I need it to go up and down as seen in the image. This is what I tried so far: System.out.p...
asked by 17.02.2017 / 21:32
1
answer

Modify remote files

Good, I am accessing files that I have in a shared folder in a network drive, and not to mount the disk in each pc I create an object of the File class in the following way: File f = new File("file://190.10.10.240/Cedulas/"). I have access...
asked by 16.02.2017 / 11:29
1
answer

create excel in java by consulting in MySQL

I'm trying to create an excel file using a mysql query, what happens is the following I do the sql query with the data I need to make a sums and divides then I add all those results to an arraylist what is not how to do to get each of these data...
asked by 08.02.2017 / 16:09
1
answer

how to create an arrangement, where data is saved until the program is finished, using different classes in java?

I have to do a project of my programming class 1 in which it consists in making a game where there will be a main menu which will have these buttons: 1.create player 2.Start session 3. go away. Then create jframes for the options to star...
asked by 08.02.2017 / 16:13