Questions tagged as 'netbeans-8.2'

1
answer

How to change the java logo of a Jframe in netbeans?

I want to change the java logo which appears in the upper left part of the JFrame window. I use the following code in the Main constructor: Image ico=Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource("img/holger2.jpg")); This...
asked by 12.12.2018 / 21:51
0
answers

Insert Record in Remote Base using Batch in mysql from JAVA

I'm inserting records into a remote mysql database and I do it using a java desktop batch. What I find strange is that, although I manage to insert, the time it takes me seems too much, approximately 2 minutes (500 records). The consultation is...
asked by 23.08.2018 / 00:13
0
answers

How to send a Data from a class so that a JInternalFrame function can receive it?

I have a JInternalFrame where I call a function that is in the class Trabajador , that function fills the Jtable that is in the JInternalFrame . Now what I want is to pass a value through a call to a function that is...
asked by 29.08.2018 / 18:20
1
answer

Help with Crud in Java

I'm doing a web application in java, and I get the following error: org.apache.jasper.JasperException: /Comics.jsp(75,16) PWC6236: According to TLD or attribute directive in tag file, attribute items does not accept any expressions I leave...
asked by 13.07.2018 / 00:39
2
answers

Can I use Netbeans with Java 9?

I have Netbeans 8.2 on Windows and I just installed JDK and JRE 9.04 . Now Netbeans does not start. The window appears: followed by: if I hit the "Yes" button. From what I was watching Netbeans 8.2 it does not wor...
asked by 03.03.2018 / 23:46
2
answers

error with incompatible can not convert to bolean and in operator &&

package mineralogues; public class MatrizMinas { //atributos private int valores[][]; //constructor public MatrizMinas(){ valores = new int [10][10]; limpiarMinas(); } //limpiar la pantalla public...
asked by 24.09.2018 / 03:34
1
answer

Multiple Sessions in Java Web?

Good morning, have all of you. My question is this, I have a coupon printing system for raffles, made in NetBeans (Servlets), this system has the option to log in and enter, until there everything works fine. The problem begins when registering...
asked by 18.11.2018 / 17:07
1
answer

java.lang.ArrayIndexOutOfBoundsException: 0

I have this class in java: public class matriz { private int tamMatriz; private int[][] mainMatriz = new int[tamMatriz][tamMatriz]; public matriz (int tamaño){ tamMatriz = tamaño; } public void instanciarMatriz()...
asked by 02.11.2018 / 07:34
1
answer

How to fill a combobox in Netbeans with data from a table in mysql

They could help me fill out a combo box with the data of a table in mysql. The problem is that the table has a iD , a name and a unit. But when filling the combobox I need the names to appear; and when selecting one, what I really need is...
asked by 22.11.2018 / 18:47
1
answer

Java does not respect the Scanner

I am having problems with a java program using classes. The problem is that when I run the program name, age and career are requested when I enter the name all right, when I enter the age and give it to enter to run only run the println but do n...
asked by 03.07.2018 / 22:54