Questions tagged as 'netbeans'

1
answer

How to call the value of a jComboBox?

I do the following query to add elements to the comboBox: cmbCargo.setModel(obj.LlenarCombobox("costo", "SELECT * FROM tipoServicio")); (The first value is the field that is shown in the query) Using this method public...
asked by 31.08.2017 / 02:59
2
answers

Buttons in Java [closed]

There is some way of styling or modeling a button on netbeans, I do not know if I explain myself. So the Button does not look with the simple style by default     
asked by 04.06.2017 / 03:39
1
answer

Is it possible to select several data inserted in a jList in java?

How can I select 3 data from a list in java? With this code I can only select a value from the list, I need to select 3 of them and save them in each of the String variables that appear there. String apunt,apunt2,apunt3; if(ListaUn...
asked by 05.06.2017 / 16:49
1
answer

How to operate a combobox with an if

How can I use a comparative if with an item combo box, if I want to push a button I draw a geometric figure     
asked by 20.05.2017 / 06:12
2
answers

NETBEANS 8.2 error when uninstalling

I'm trying to uninstall netbeans, since I can not get it started, and I wanted to make a new clean installation, but I do not get it, it generates the following error. # # A fatal error has been detected by the Java Runtime Environment: # # E...
asked by 26.04.2017 / 00:29
1
answer

Netbeans allows you to open a project or attach a .jar driver

I am faced with a serious problem and that is that netbeans starts me and allows me to create projects, but when I open the project or open the file, it closes immediately and does not let me choose the route. Also when trying to attach the o...
asked by 21.04.2017 / 18:24
1
answer

Error inserting data with Hibernate

I'm trying to insert data in two tables with a one-to-many mapped with Hibernate in Netbeans, but when I run the application I get the following error:    run:   Mar 11, 2017 12:28:20 AM org.hibernate.annotations.common.reflection.java...
asked by 11.03.2017 / 06:54
2
answers

Can you have XAMPP and Tomcat EE installed at the same time?

I have windows 10, XAMPP, Java and Netbeans installed on my PC. I'm trying to create a website for e-commerce by following the "official" tutorial on the Netbearns.org site: https://netbeans.org/kb/docs/javaee/ecommerce/entity-session.html...
asked by 21.03.2017 / 22:58
1
answer

initialize the size of an array with NULL

I am stuck with this topic, in a program with methods, we initialize array with NULL value because we still do not know the measure that it is going to have and we ask for the keyboard that indicates the measure, they give me this example that d...
asked by 20.02.2017 / 08:58
1
answer

com.mysql.jdbc.jdbc2.optional.MysqlDataSource Error

I have a RESTful service created in Netbeans that connects to a remote mysql database. In local the service works well, but when I deploy it to the remote Glassfish server I get this error: > Error occurred during deployment: Exception whil...
asked by 17.03.2017 / 17:40