Questions tagged as 'java'

1
answer

How to avoid the doubleclick edition of Mouseclicked on a jTable in java?

I have a jTable and I want that at the moment of double clicking, I do not edit the table since I have a part of the code in which it is valid that only numbers can be entered and it does, but when I double click on the table allows me to...
asked by 17.07.2017 / 21:40
1
answer

How to generate a builder.xml file if you do not have it by default

As I understand it, when you install eclipse-java, you have installed an XML file by default in each project in the builder package, but for some reason in all my projects I do not have any xml files. Could someone help me with this problem?...
asked by 17.07.2017 / 20:16
1
answer

Jackson FasterXML POJO A XML list

I use FasterXML Jackson to convert a POJO to XML but I want the children of the parent tag in the list to have a different name. How can I do it? ORDEN: @JacksonXmlRootElement(localName = "eOrden") public class Orden { @Jac...
asked by 25.07.2017 / 14:27
2
answers

Run java project with node-jre module

I am developing a node application from which I need to execute java code. I am using the module: node-jre ( link ). The example that comes on the page (Hello.class) works well with the code that comes on the page (I include it here) but c...
asked by 14.07.2017 / 09:27
1
answer

Why does jmimemagic throw exception with sql files?

Hi, I work with Play Framework 1.4 and Java, I have a Test class with UnitTest that tests a class that validates files with jmimemagic, but when validating files with an extension sql throws the exception MagicMatchNotFoundException Why does...
asked by 14.07.2017 / 16:09
1
answer

how to save date in java

I'm doing a project in java netbeans but I can not save the date in my database can you help me thanks this is the code I use: if(txtgenerico.getText().length()==0 ||txtcomercial.getText().length()==0||txtforma.getText().length()...
asked by 09.07.2017 / 22:23
1
answer

Error using @POST with @Body in interface Retrofit on Android

I have a problem using Retrofit in a project that manages Java and Kotlin at the same time and I can not find information about it, I explain ... I already have my service generator for Retrofit and my interface, both in Java; aside I have my...
asked by 09.07.2017 / 21:52
0
answers

FIRM PKCS # 1 RSA Sha256WithRsa

I need to sign a chain to send to a financial institution by means of a WebService . The steps are the following: Procedure to generate the value of the signature parameter Generate the original string of the query message or t...
asked by 26.07.2017 / 14:43
1
answer

execute a .jar in weblogic application server

Good friends, I am developing an application that is going to run every so often, at first I think that as an application, the method is executed at the indicated time with the annotation @Schedule(minute = "*/3", hour = "*", persistent = fal...
asked by 11.07.2017 / 17:34
1
answer

How do I show the data that a Database contains in a JTable?

I want to make the Jtable display the data I have in my database. I use a method to connect the database $ public void Conectar() { try { conexion = DriverManager.getConnection("jdbc:mysql://localhost/sistema_gmg", "root", "...
asked by 12.07.2017 / 00:19