Questions tagged as 'netbeans'

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 27.09.2017 / 01:41
1
answer

How to ignore syntax errors while preserving the autocomplete in netbeans?

First of all I will be more clear, the situation that is presented is this: When adding a newly created Laravel project, Netbeans launches the syntax errors flag «This obviously applies as false errors» . The directory that has the suppose...
asked by 20.09.2017 / 19:07
2
answers

Exception in thread "main" java.lang.NullPointerException

I want to see if they help me see why I get this error, if everything from my point of view is correct, but it points me to a null pointer.  Here is the code that I am testing. The null marks it in the if public static void ListaDoc(Str...
asked by 28.08.2017 / 01:53
1
answer

pass data from one table to another

Good people! I have a Jframe with 2 tables, what I want to do is pass data from one table to the other with a mouseclicked event, which I have achieved, but only one column loads me, that is, if I click with something else from the first table a...
asked by 28.08.2017 / 16:02
1
answer

How can I convert a String to Image?

I take an Image from the database but I can not because it says that I can not convert from String to Image public static Pet showImage (Pet show) { String sql; java.sql.ResultSet rs; try { sql = "Select imagenMascota...
asked by 24.08.2017 / 04:12
2
answers

.jar not running

Create a project in NetBeans with Java JDK 8u131 and JRE 8u131, in the project I use a library called JXL which, as you know, is used to export and import tables Excel The project works very well when I run it in the same NetBeans, the th...
asked by 21.07.2017 / 18:02
1
answer

Handling of composite keys in hibernate + netbeans + java

In a Java desktop application I have to do a crud on a parent and a daughter table. The daughter has a key composed of the key of the parent table and another field. Using netbeans and hibernate I have generated the pojos of the two tables, but...
asked by 19.07.2017 / 22:39
0
answers

XML for C in Netbeans

I am using Fedora 26 and Netbeans 8.2 I need to include the libxml library to parse XML files with the C language. I can not find information on how to do this. I already have the libxml and libxml2 libraries installed in Fedora.     
asked by 13.08.2017 / 23:27
1
answer

Java | Jframe | Generate with anchor to the right of the screen

Good afternoon. I want to generate a main jframe that when instantiated is anchored, automatically, to the right of my display, it is a desktop aplication. I want that when it appears it comes out of that side so automatic. [With its high...
asked by 14.07.2017 / 04:41
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 / 02:19