Questions tagged as 'java'

0
answers

I need you to display the text string on the screen are permutations without repetition

import java.util.Scanner; import java.util.Vector; public class Permuatciones { static String cadena=""; static int factorial=0; static Vector permutacion = new Vector(); public static void main(String[] args) { S...
asked by 03.08.2018 / 01:02
1
answer

how to apply validations in datetimepicker?

I have two date fields, <div class="form-group"> <div class="input-group date" id="datetimepicker1"> <input id="fechInicio" name="fechInicio" class="form-control" type="text"/> <span class="input-group-addon...
asked by 02.08.2018 / 20:07
0
answers

Error in com.digitalpersona.onetouch.jni.JniException when Programming a digitalPersona (Biometric)

I have a 64-bit computer. With Windows 10 I am programming a digitalPerson and I can not compile this class. Already install the JDK and the Universal Digital Persona Driver Install the libraries .jar dpfpenrollment.jar dpfpverificat...
asked by 03.08.2018 / 00:23
0
answers

Pass a JtextField to a Jtable

I need to pass the information that is placed in a JtextField to a Jtable this is activated when you click on the voton update someone who can help me please this is my code: import java.awt.event.ActionEvent; import java.awt.event.ActionListe...
asked by 26.07.2018 / 17:53
0
answers

how to print on a thermal printer from another activity that keeps the button?

I already have the printing code, it prints everything right from the activity where everything is configured but now I want to know if I can move the print button leaving my bluetooth confirmation just the button to another activity and prin...
asked by 26.07.2018 / 17:38
0
answers

How to connect Java with Access?

Ask a question Good day I need to make an access connection with java eclipse this is my code import java.sql.Connection; import java.sql.DriverManager; import javax.swing.JOptionPane; public class Pasesdesalidas { static Connection con...
asked by 23.07.2018 / 17:10
0
answers

When I invoke a webservices only brings me the object, my question is how to get the data

my webservices shows the data of the table but when I consult it in a web client, it only throws me an object which I can not interpret to obtain the data [webservices.Empleado@b4261d, webservices.Empleado@683520, webservices.Empleado@159a7d3,...
asked by 23.07.2018 / 16:33
1
answer

java.lang.NullPointerException: null, I can not enter values into a class with an array of objects

hi I need to enter these values of different arraylist within a class to build a REST service, but it does not allow me to use object arrays to insert these values in my class so I do not want to be declaring "n" instances of my class to enter t...
asked by 23.07.2018 / 02:57
0
answers

how to prevent files from drying up when uploading a pdf with fileUpload in primefaces?

The problem that occurs to me happens when selecting a pdf of 4 pages the fileUpload shows a window in which it loads 260 parts, what happens in this case is that it cuts the pages into 65 parts, if you upload 1 pdf with 1 single page, it cuts i...
asked by 24.07.2018 / 16:26
1
answer

separate chain for a spinner

I want to separate this string for a spinner. Here I receive my JSON I go through it to only get what I want. JSONObject jsonObject= new JSONObject(responseStrBuilder.toString()); JSONArray jsonArray = jsonObject.getJSONArray("payment_metho...
asked by 24.07.2018 / 16:17