Questions tagged as 'java'

1
answer

How to implement JasperReports and iReport (or Jaspersoft) in a reporting system? [closed]

I have a system with a lot of the ready-made features registered and all routes are finished. now I will create a generate report that the user will make the requisition of what will want to generate and from there make the request in java (mvc)...
asked by 28.04.2017 / 14:12
1
answer

Error accessing JTable line [closed]

On my system you are giving code line error ModelUsuario modelUsuario = new ModelUsuario(); ControllerUsuario controllerUsuario = new ControllerUsuario(); //recebe a linha selecionada int linha = this.jTableUsuarios.getSelectedRow...
asked by 25.04.2017 / 03:24
1
answer

2-Dimensional ArrayList

I recently started working with ArrayList , but my question is how to create an array of ArrayList .     
asked by 09.05.2017 / 17:10
1
answer

How to read multiple lines from a text file (.txt) and store them in the same variable?

Does anyone have an idea to help me extract the lines below that always appear in this pattern? Palavra1 (é sempre igual) Linha a ser extraida, de tamanho variavel Linha a ser extraida, de tamanho variavel Linha a ser extraida, de tamanho vari...
asked by 15.10.2014 / 18:56
1
answer

Problem with decision inside the loop of an array

My problem is in the second if, what I was actually trying to do was to determine that by the time the loop was going through position 11 of the array it added the "\ n", but in the way I did, it does it in all loops, not just in the position I...
asked by 16.10.2014 / 06:25
1
answer

new File () does not create the file

When creating a program that generates an input file to another program, the problem occurs that the file I try to create with new File() is not created. Follow the code: import java.io.File; import java.io.FileWriter; import java.io...
asked by 15.11.2014 / 18:48
2
answers

Decrease space between two JPanel in netbeans prototype

Good afternoon guys. I'm using netbeans 7.4 to create a simple canvas. It turns out that in this screen (frame0 by default), I added two panes (JPanel). One to be the header and another to be the rest of the screen. I chose the layout of t...
asked by 02.06.2014 / 18:33
1
answer

Create folder in device's internal memory and display message after recording

I have two problems. The Toast in my method returns the following error:    The method makeText (Context, CharSequence, int) in the type Toast is   not applicable for the arguments (GenerateReport, String, int) How to display a...
asked by 05.06.2014 / 02:58
2
answers

Use data that is in the database

I'm creating a Quiz. I was able to create the screen to create the questions, it is recording in the database all right. But now I'm going to do the "game" itself, so I would have to get a question that is stored in the bank and return to the sc...
asked by 04.09.2014 / 22:41
1
answer

Save several variables in an EditText [closed]

Hello, my problem lies in how to save different strings that are written in an Editview. I can save a variable every time a button is pressed. But I do not know how to save another String in another variable, can anyone help me? (Another q...
asked by 27.09.2016 / 03:20