Questions tagged as 'netbeans'

1
answer

I would like to know how to go from one frame to another, executing the main of the other frame?

I would like to know how I go from one Jframe to another, executing the main of the other Jframe? I have an input on the jframe that I want to open from the Jframe home, I open the following way the Jframe Jframe2 abrir =new Jframe2(); abr...
asked by 01.04.2018 / 18:52
1
answer

Database and Java

I am trying to filter in a database from a combobox, for example if in the combobox you choose systems in the table you should show the data of only that area, I have this code: String lugar=String.valueOf(combo.getSelectedItem()); ResultSet c...
asked by 07.04.2018 / 21:56
1
answer

How to request the Exception in thread error "AWT-EventQueue-0" java.lang.NullPointerException [duplicate]

package vista; import Modelo.Conexion; import Objetos.Usuario; import controladores.UsuariosController; import java.awt.HeadlessException; import java.sql.SQLException; import javax.swing.JOptionPane; import org.apache.commons.codec.d...
asked by 06.03.2018 / 03:28
1
answer

I want to call the data that is entered in a jtextfield from a main class, can it?

In my program I would like to call a jframe called "frame1" from a main class in that jframe I have 2 jtextfield, I want to enter values in those jtextfield and then use these values in the main class but it tells me that jtextfield are in priva...
asked by 28.02.2018 / 17:34
0
answers

Impossible to make a test suite with NetBeans

Problem when trying to make a test suite with NetBeans after creating the test classes of each class, at the beginning if I could give the right button on the test suite-new-test suite but now the test suite option does not come out, I have unin...
asked by 09.03.2018 / 14:23
0
answers

How to use variable int for meter meter java and jfreechart

I need the variable int pressure to be equal to the dataset so that it shows when this value changes represented in the graph package puertocom; import java.awt.*; import javax.swing.JPanel; import org.jfree.chart.ChartPanel; imp...
asked by 13.03.2018 / 07:00
0
answers

Error Generating Class Diagrams with EasyUML

Trying to generate the class diagram of my project in java-netbeans gives me this error ..... They can help me with solution ideas or in this case some other method to generate the class and case diagrams of use, it should be noted that the plug...
asked by 18.02.2018 / 22:20
1
answer

Error creating classes, saving and executing projects in Netbeans

I have the latest installed version of Netbeans and it has always worked perfectly for me, but while doing a practice with graphical interfaces in Java, I get an error (Not of the code, but of Netbeans) And I can not save any project (It says th...
asked by 17.02.2018 / 11:19
0
answers

how can I pass a class to the mvc model

I have this class but I can not find the way to pass it to the mvc model, to work with the Setter and Getter and finally send the data to another class where a jLabel will receive it. public class Clientes { Connection conectando = null; P...
asked by 20.02.2018 / 16:23
1
answer

I have a simple jsp I'm using java and I want to run a report by irreport from a link but I get an error

This is the servlet code, here is the report route: package Controlador; import Modelo.Conexion; import java.io.FileInputStream; import java.io.IOException; import java.io.OutputStream; import java.sql.SQLException; import java.util.HashMap;...
asked by 16.02.2018 / 13:49