Questions tagged as 'netbeans'

3
answers

How to show in jframe the results of the sql statement?

I would like to know what I am doing wrong in the code, it turns out that I try to get the data of the statement sql in the JFrame . I leave the code what I have package Formulario; import Formulario.Menu; import Clases.*; import jav...
asked by 25.06.2016 / 02:16
1
answer

Obtaining data from JCombobox

I'm generating a form where I need to get some value from a Jcombobox Currently, this is my code: private void llenarMatriz() { String cmb = "SELECT DISTINCT nombre_matriz FROM matriz ORDER BY nombre_matriz ASC"; try { Statem...
asked by 25.10.2018 / 16:11
1
answer

Why do I get error with glassfish and netbeans?

And I really do not know what's wrong. This is the code: index.html <!DOCTYPE html> <html> <head> <title>Todo supply a tittle</title> <meta charset="UTF-8"> <met...
asked by 20.08.2018 / 06:39
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 04.07.2018 / 00:54
1
answer

Send data from a txt to Java

Well, my problem is as follows. My program has to read the data from a .txt and get the average and classify them. I managed to do it but entering the numbers directly from the code. int age [] = {3,12,1,20,52,10,3,20,99,12,52,4,43,20,99};...
asked by 06.06.2018 / 06:00
2
answers

I need to pass the data from one row of a table to another

I know that in this group they are very capable to help, I need your help, my problem is the following, I want to take the data from a selected row of a table and send the data to another table, but I want a column is not sent to the second tabl...
asked by 23.05.2018 / 17:57
1
answer

Any type of Java overflow?

was doing the problem # 2 Project Euler and suddenly notice that when the numerical quantities were high negative numbers were positive and positive, in C ++ I also had the same, someone knows why this is given? public static void main(String...
asked by 29.05.2018 / 19:00
1
answer

How to load a background image in a Java Canvas

Hello! I need to upload the next image in a Canvas that I'm using This is the code which is loading the canvas public JFrameJuegoBase() { initComponents(); canvas = new CanvasDibujable(); canvas.setBounds(30,...
asked by 11.04.2018 / 02:23
1
answer

Send variable from Scriptlet to Servlet

Good evening people from Stack Overflown, I write pq I have a problem and I would like to see if you could help me A teacher sent us an exercise where you should create a shopping cart and by pressing the submit button you should show the res...
asked by 13.04.2018 / 06:06
1
answer

API Google Drive Java

I would like to know if a connection to Google Drive can be made with my desktop application, I have a sales program and what I want to do is have a button that, when clicked, download the report of the total sales and that same file go up to go...
asked by 26.02.2018 / 01:03