Questions tagged as 'java'

0
answers

Java repaint () not working

public class GameMotor extends JFrame implements Runnable{ static double FPS = 30.0; PanelJuego pj; Vehicule vehicule; boolean gameActive; boolean isPressed; public GameMotor(){ super("Race Game"); this.setDefaultCloseOperation(JFrame....
asked by 23.04.2018 / 00:27
1
answer

How to fill a polygon using MouseListener and MouseMotionListener

I have a problem with this code in which I have to create a polygon, in this case I have created something like a rectangle, and in it by means of MouseListener and MouseMotionListener when executing the program and clicking on the polygon it is...
asked by 22.04.2018 / 22:47
0
answers

How to unsubscribe a texfield record from an ArrayList that comes from another Frame in Java?

public void bajaClientes(VerBajas panel) { VerBajas b1 = new VerBajas(); VerBajas b2 = new VerBajas(); b1.getTxtbapel1(); b2.getTxtbapel2(); int n = 0; String desc = "NULL"; ArrayList clientes = panel.getFrame().ge...
asked by 21.04.2018 / 17:10
1
answer

ValidateJFXTextField

Hi, I'm doing an application on Java FX with the JFONIX library I want to validate a JFXTesxtField so that I only accept numbers and another one to accept decimal numbers and that in the latter I can not enter more than 1 . public...
asked by 23.04.2018 / 22:22
2
answers

Grant multiple permissions for android Marshmallow (Android 6.0)

I go straight to the problem. I want to request multiple permissions on Android 6.0 or higher versions in Android Studio And it happens to me that even though I'm praying for you to ask everyone, just ask for the first one .. code IMPORTS...
asked by 23.04.2018 / 21:18
0
answers

How can I make a PUT request in cURL using Android Studio?

The request I want to make: curl "https://api.mapbox.com/datasets/v1/{username}/{dataset_id}/features/{feature_id}?access_token=your-access-token" \ -X PUT \ -H "Content-Type: application/json" \ -d @file.geojson This is my geojson: {...
asked by 19.04.2018 / 15:27
0
answers

how to fill out a .jasper report that contains sub reports with a HashMap?

I must fill out a .jrxml template that contains sub reports inside: That is, several sections that show certain information and some will be conditioned to show the information. However, I am ignorant of the management of templates for the ge...
asked by 19.04.2018 / 00:28
1
answer

Matrix reading sent by Socket JAVA

I can send an array from the Server Class to the Client class and read it, but I can not read a matrix. Where is the error? public class Client extends Thread { InetAddress host = null; Socket socket = null; ObjectOutputStream oos = null;...
asked by 20.04.2018 / 23:54
0
answers

Libraries ceased to exist after removing the cache of my netbean 8.2

Could you help me? trying to solve a problem I eliminated the cache of my netbeans 8.2, after doing it they stopped working these two projects I had before working properly, he tells me that those two bookstores do not exist. I do not know...
asked by 30.04.2018 / 16:42
0
answers

jstl foreach variables

I have the following foreach in the controller for(Paquete p: listaPaquetes){ entregablePaquete = entregableDao.listaEntregablePaquete(p.getIdPaquete()); map.put("entregablePaquete"+p.getIdPaquete(), entregablePaquete)...
asked by 30.04.2018 / 17:41