Questions tagged as 'netbeans'

0
answers

Fill data with a ComboBox from MySQL

I am trying to make the information load when the first option is selected a project that was stored in a database and that at the time of selecting a project the respective information below is selected depending on the previously stored inform...
asked by 27.10.2018 / 07:00
0
answers

how to get the fields of all the rows of a SQL query in Java?

Good afternoon someone could help me with the following please ... I want to obtain the ID of the rows obtained by the following SQL query and save them in a variable but I do not know how to do it. SELECT * FROM productos; But if I know ho...
asked by 23.10.2018 / 18:57
0
answers

Is it possible that a jtextfield, only acts with a barcode scanner (peripheral input)?

Someone will have an idea of how to do, so that a jtextfield only acts when someone uses a barcode scanner, in java netbeans     
asked by 22.10.2018 / 23:24
1
answer

Exception in thread "main" java.lang.ArithmeticException: / by zero

Yes, I know it can not be divided by zero. But I want it to show me a JOption, not that the console throw me an error. It is understood? I must make a switch that when the user indicates the number the switch performs the corresponding function....
asked by 18.10.2018 / 00:25
0
answers

Directing to another java project in Netbeans

I need that after doing a certain procedure in a method of project "A" I was directed to a project class "B", I'm working in Netbeans, project "A" is in Struts 1 and project "B" is in JSF. I would be grateful to who can help me or give ideas.  ...
asked by 17.10.2018 / 17:03
0
answers

Print Graphics JasperReport

I had doubts about how I could print a GRAPH with JasperReport, I looked for the way but only show how to make them but not how to print them, I will leave here the way I print the REPORTS with JasperReport and thus create the idea of what I wan...
asked by 12.10.2018 / 20:16
0
answers

popup window open / close / minimize internalframe is disabled

the popup to restore / move / minimize / close / maximize Does not work, any solution? my code to insert the form to my JDesktopPane is the sgt: frmEntregaMovil t = new frmEntregaMovil(); JInternalFrame internalFrame = new JInternalFrame...
asked by 12.10.2018 / 19:56
1
answer

Error in Netbeans java.sql.SQLException: No suitable driver found for jdbc: mysql: // localhost: 3306 / patterns [duplicate]

Good I am having a problem with this program that I did it gives me this error and I have tried everything but nothing works, I am connected to the database but it does not work. Here the code: package conectaBD; import java.sql.*; public c...
asked by 12.10.2018 / 20:07
0
answers

How do I insert a video to a jpanel or a jframe in netbeans?

Specifically, what I am looking for help is to be able to insert a video in a jframe, in other words that when I run the program in the home panel the video is reproduced. I tried it with label but I do not achieve it . Hopefully, make me unders...
asked by 12.10.2018 / 22:01
1
answer

black letters in ireport and netbeans

When I generate the preview of my report, the letters come out as I wish: painted in bold: But then when I save it as .pdf, it generates me this way: Why does this happen? How could I fix it?     
asked by 12.10.2018 / 17:04