Questions tagged as 'java'

0
answers

Problems executing a .jar in another computer

The problem is that when running the .jar everything works correctly less when creating the report. The route of the .jrmxl I do not believe that it is because in my pc it works so much being the project from C: as being in a USB pen. Any ide...
asked by 24.09.2017 / 11:40
0
answers

Load more than one data in a PILA

Dear, I have a question with this exercise, that is, I can not understand how to work these BATTERIES, I understand should I use more than two, or can I load more than one data in each element? that is, for example, stack [dni] [name] [dni spous...
asked by 03.10.2017 / 00:13
0
answers

Java Jtable Editable in execution time BD postgresql

I only have one Jtable created, I need to visualize and update the data in this one that must be connected to Postgresql It's all the code I have package sistema; import java.sql.ResultSet; import javax.swing.table.DefaultTableModel; /**...
asked by 22.09.2017 / 23:30
1
answer

XML parsing error: mismatched tag (Please help) [closed]

I have already closed the tags but I still get an error, when I collect it it says Error parsing XML: mismatched tag. And in the XML Copy Editor tells me this below when saving "Premature end of data in tag PreferenceScreen line 2", could someon...
asked by 22.09.2017 / 16:33
0
answers

Error quere To know if a number is Positive or Negative using indirect recursion

I'm doing the following exercise, the task is to know if a number is Positive or Negative using indirect recursion, the code compiles but always returns me True what should I correct? p> public class EjercicioTrece { public static...
asked by 21.09.2017 / 23:57
1
answer

Capture the text of JTextField - it does not work

I am learning this wonderful and complex language. Following a video course (from youtube) in which is the following exercise: /* * To change this license header, choose License Headers in Project Properties. * To change this template file,...
asked by 21.09.2017 / 23:43
1
answer

XML parsing error: mismatched tag

I would like to ask why in this xml I get an error, I am very new and I want to add some options, but when I add them now I miss this error when compiling, I asked previously on the web in English and they told me it is because I do not close th...
asked by 22.09.2017 / 14:34
0
answers

Android application does not run on API 19

I'm starting to develop on Android and use the IDE Android Studio. I have an app that connects to a database with SQLServer, the only thing it does is make a query that receives 4 fields by sending it 1 ID. The App is already ready and I have fi...
asked by 24.09.2017 / 23:32
1
answer

Validate Radio Button

Hello, my question is how can I validate if any button of my Button Group is selected or not, for example if none is selected send me an error message try with some methods but do not give (it's a form) private void jButton1ActionPerformed(jav...
asked by 26.09.2017 / 23:41
1
answer

How to protect some properties and persistence.xml files inside a jar?

Could you help me please is that when generating the jar of my application it also packages the information of the database (Persistence.xml) next to some .properties files and this makes the application very vulnerable, I would like to know how...
asked by 18.10.2017 / 15:30