Questions tagged as 'java'

0
answers

Assign array to an object

In the following example consists of discharging employees in an array and also the diets of employees, I need to assign diets to employees, for example when entering a new diet the employee's ID number is requested to assign it. How could it...
asked by 07.02.2018 / 15:25
0
answers

Modbus TCP Header

Hi, I hope you can answer the following question. Suppose I have a modbus PDU in the following way: 11 03 006B 0003 7687 if this PDU applied an output.write (); to send it by tcp / ip, this method automatically places the MBAP Headers?...
asked by 16.02.2018 / 18:04
1
answer

How do I get the Uri from a file that is in the internal memory in Android

What I want is to be able to take out the Uri to pass it to another function but it does not work any way I am creating an app that uses the OneDrive sdk, which provides this example example of uploading files private void upload(final in...
asked by 16.02.2018 / 17:37
1
answer

List of Links Primefaces

I have a problem with a Datatable. First the data table generates the data of the first 10 records without passing parameters, in each record there is a column with several links of Actions such as Edit, Delete, and see its history. There are al...
asked by 16.02.2018 / 20:54
2
answers

Android Java Wait for an asynchronous process to finish [duplicated]

What happens is that I have working on AndroidStudio, programming in Java where you have a function that makes data to a URL that I have, and upload some images, along with other data. This process is all OK, what happens is that I have the...
asked by 05.02.2018 / 15:30
2
answers

Doubt about using Printf in Java [duplicated]

I am learning how to program, and I have an exercise that asks me the following. Basically I have to print on the screen this text below with printf but I do not even know where to start. <br> El valor de la variable casado...
asked by 16.02.2018 / 18:37
0
answers

Problem when running jar with ItextPDF

My question is this, I'm making a system, I'm using the ItextPDF library, what happens is this, when I'm compiling my project from NeatBeans, when I create the document it works, I create it and I can open it, But if I run the jar of my project...
asked by 05.02.2018 / 18:09
0
answers

Error pressing a button

What I do is change the names to the classes and to the layouts by others, when I execute the aliccion and I give a button I get an error 02-04 18:58:34.219 9795-9795/dev.edmt.flagsquizapp E/AndroidRuntime: FATAL EXCEPTION: main...
asked by 04.02.2018 / 18:02
1
answer

why do not the buttons, JtextFields and Jlabels appear in a Jpanel to which you add a background image?

I leave you the Jpanel class code and then an excerpt of the JFrame code. I appreciate your answers in advance. God bless us. import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.Dimension;...
asked by 05.02.2018 / 01:57
0
answers

Problems uploading a file with other parameters, sending them by ajax to a servlet

I need to send a form that has two input = file and other parameters, I am sending them via ajax to a servlet that receives a URL parameter that I use to determine the specific function for that process (a servlet for my entire module). .. I hav...
asked by 05.02.2018 / 16:58