Questions tagged as 'netbeans-8.2'

2
answers

How do I get the path of an image that is inside the folder of my project in JAVA

The image is being saved in for example C: \ Users \ abc \ Downloads \ Project \ image.png and within that folder are the subfolders of the project but I need an address that works on all computers, so how do I find the image inside that folder?...
asked by 09.05.2018 / 05:26
1
answer

SQLSTATE [42000]: Syntax error or access violation: 1064

I get this error when I run the application:    SQLSTATE [42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''...
asked by 22.05.2018 / 11:20
1
answer

Error entering user in java

I'm working on a project and now I need to create a view from the javafx side, which will be for new user registration but when I try to add it I get the error: "Exception in thread" JavaFX Application Thread "java.lang. RuntimeException: java.l...
asked by 19.05.2018 / 02:01
1
answer

How to execute two MYSQL queries from netbeans

I would like you to help me. How to execute two queries to the same table from netbeans ?. Here the consultations: insert into tb_horarios(codigopersonal, dia, hora_entrada, hora_salida, numero_horas, malla_referencia, prd_codigo, j_codigo) s...
asked by 21.02.2018 / 15:07
1
answer

How to insert data in a single column?

I want to insert in a table column T_tiphab but I can not tell me:    ERROR 1452 (23000): Can not add or update a child row: a foreign key constraint fails ( reservas . T_tiphab , CONSTRAINT T_tiphab_ibfk_1 FOREIGN K...
asked by 05.01.2018 / 00:34
1
answer

Configure plugin NBAndroid-v2 in Netbeans 8.2

Good morning, for work reasons I should start working on an android project on the IDE NetBeans, researching I found that the NBAndroid plugin should be installed, which according to what I read is no longer officially available although there i...
asked by 31.12.2018 / 20:23
0
answers

How to open a jar (that reads a .properties file) with another jar

I have developed an application for the "Visitors Registry", this application connects to MySQL to save the records, to determine which base to connect to obtain this parameter from a Properties file. The application works by itself without prob...
asked by 17.12.2018 / 04:14
0
answers

COUNT ROWS OF A JTABLE JAVA

I have a JTABLE and I am adding data to him, how can I do so that he can fence me with the data and if I get to remove something from the table that comes back and count the rows of the table, but in a column he will fence me showing the amounts...
asked by 26.11.2018 / 16:27
1
answer

Enable the jbutton as long as the jtable is not empty. JAVA

It seems to be simple, but this is already taking me 2 days. I simply have a jTable and three buttons. Add, Modify and Delete. The data is added, modified and eliminated perfect. In the JFrame constructor where I have these components, the Modif...
asked by 21.11.2018 / 01:14
0
answers

send data from mysql to a faithful jtext netbeans

I have a table with data that absorbs from mysql .. when I give clk to the table I want the data that is missing in the table to be sent to a faithful jtext ..... the table is from cars and I want to send the details and that's a very long field...
asked by 20.11.2018 / 19:28