Questions tagged as 'java'

1
answer

The type of get (int) is erroneus

I am new to the forum and do not put things with code and others, but I will try to explain all things JSP code <%@ page language="java" %> <%@ page import = "IDP_web.Herramientas.ListaJefaturas"%> <%@ page import = "ID...
asked by 24.10.2017 / 20:32
2
answers

Select does not catch the correct value of the TextField when modifying it

Good morning, I have a window that serves to choose Artist and Album through two JComboBox, and at the same time they fill two JTextField, the JTextField that I use for the name of the Album I use it to edit it and give it the new name, but the...
asked by 10.05.2016 / 09:59
1
answer

SqliteException error on Android [closed]

I'm having problems starting my application, it shows me a SqliteException error, I add my Logcat message as well as my MainActivity class, thanks for your help This is my MainActivity class package com.example.arielra.reproductordeaudio...
asked by 10.06.2016 / 03:55
1
answer

How to pass the data from an ArrayListString to an Object?

How can I pass the data I have in a ArrayList<> of type String to a custom object which then passes the data to an adapter ?. The problem I have is that as I currently do, it generates new instances of the data, which mean...
asked by 28.11.2018 / 17:20
1
answer

Disable the last JButton pressed by pressing another and so on

I'm creating a java interface with swing. The theme is the following, I have 9 Jbuttons and a textfield, every time I press a button, a different text appears, something simple. Well you see, I can not find the way to do that every time I press...
asked by 20.11.2018 / 21:58
1
answer

I do not execute the desired program

I tried to execute this program and I do not know why it does not execute me. I would like someone to tell me why this error is due ... I tried another PC and when I ran the program I said "You can not launch this program because there are...
asked by 05.11.2018 / 21:39
1
answer

NullPointerException in JSP using SQL

I try to make a very simple web application, where it shows the result of the execution of an SQL query. But it results in an NPE. Here is the JSP: <%-- Document : consultas Created on : 25-may-2017, 23:20:40 Author...
asked by 26.05.2017 / 06:27
2
answers

How to make a multidimensional array? [closed]

I just started my studies and until now I know how to create a one-dimensional array, I would like to know how to make one with multiple dimensions. Thank you.     
asked by 13.11.2017 / 16:10
1
answer

Error dividing by zero

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class EjercicioCalcularPromedio30alumnos { public static void main(String[] args) throws IOException { BufferedReader bf = new Buffe...
asked by 26.08.2017 / 22:57
2
answers

RadioButton Selection Screen

I want to implement a selection menu that shows me a list in the following way:         I do not know with what kind of activity something like this can be implemented in Android Studio, thank you very much     
asked by 01.09.2018 / 01:08