Questions tagged as 'java'

0
answers

ireport generates more sheets than it should in pdf

Hello I was generating my reports in the ireport and I was given the problem that every time I want to generate a report and save it as a pdf, the pdf is generated with more sheets than it has, since it only has one sheet without However, 33 (32...
asked by 21.05.2018 / 09:46
0
answers

How can I move an array from one interface to another

This is the login interface: import java.awt.*; import java.awt.event.*; import javax.swing.*; public class login extends JFrame implements ActionListener { retiro[] ret; deposito[] dep; user[] use; client[] retire; Login_Ad[] a...
asked by 21.05.2018 / 01:45
0
answers

How to send selected checkboxes to a jTextArea? JAVA

I'm doing a project and I need to send all the selected checkboxes to a jTextArea, what I can think of is to create many if () {} but I wonder if there is an easier way. Thanks for your help     
asked by 25.05.2018 / 00:37
0
answers

The option 'android.enableAapt2' is deprecated and should not be used anymore

I'm doing a basic project in Android Studio in its latest version that I downloaded in May 2018, when I try to compile the project I get the classic error of "AAPT2 error: check logs for details" which the whole Main class me marks errors in the...
asked by 20.05.2018 / 16:54
2
answers

Manipulate ArrayList from different classes

I have 3 classes (WINDOW1, WINDOW2, LISTS) In the "WINDOW1" class, I will instantiate the class "LISTS" and fill an ArrayList from a method. How can I go through that ArrayList from VENTANA2? As I understand it, from Window 1 I create an o...
asked by 22.05.2018 / 06:44
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 18:54
0
answers

Problems configuring LWJGL: NoClassDefFoundError org / lwjgl / glfw / GLFW

I am trying to configure lwjgl in my Java application, this is the code that is giving me problems: import org.lwjgl.*; import org.lwjgl.glfw.*; import org.lwjgl.opengl.*; import org.lwjgl.system.*; import java.nio.*; import static org.lwjgl...
asked by 22.05.2018 / 10:53
0
answers

How to add balls that bounce when clicking

I made this program of a ball that bounces but I can not make it come out more import javax.swing.JPanel; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import java.util.Rando...
asked by 22.05.2018 / 00:01
1
answer

Casting problems when extracting information from a ComboBox

I have the following code to update data in a window according to the chosen parameter in the ComboBox. The problem is that it gives me a cast error "java.lang.String cannot be cast to rosales.Rosal" and I do not know exactly where the er...
asked by 26.05.2018 / 10:22
0
answers

Problems with ic_launcher

I've noticed that when installing my app on systems> = Api 26 the launcher icon is changed to the default of android studio, while in versions under 25 the ic_launcher that I have predefined comes out. I have changed the ic_launcher in its re...
asked by 26.05.2018 / 05:07