Questions tagged as 'java'

2
answers

how to get the index of an element in an array of arrays

I have a matrix and I need to find the index of a specific element in a column . I have seen the index of method but only used in normal arrays of strings, ints etc not in arrays of arrays or arrays. for example I have String tablero[]...
asked by 15.10.2017 / 21:16
0
answers

Android HashMap with custom adapter [closed]

The purpose of the code is to print the names of the chapters when the season is in the same position, here an example, tengo una serie "x" con 2 temporadas Temporada 1 [10 capitulos] Temporada 2 [10 capitulos}] serie "e" con 1 temporada Tempo...
asked by 22.07.2017 / 03:52
0
answers

Error in REst response in java, object is not displayed as Json array

When it shows the result in Json of several records of the Rest that I have developed if it shows it as an array (with a bracket that encloses all the elements): {"tb_tipo_producto_1":[{"c_t_tipo_producto":"ACCESORIO PARA COCINA","n_i_cant_pro...
asked by 17.08.2017 / 15:09
0
answers

ID saved correctly but returns 0 [closed]

I have a question I wanted to know what would return the returnz , why I wanted the method to return the ID of the inserted CD but it does not and I do not understand it. The ID is automatically generated in the database and my problem...
asked by 11.07.2017 / 09:52
2
answers

Save the JTextField values in double type variables

I have the following code, and my problem is that I do not know how to do the action listener of my "Accept" button so that I save what is written in the JTextFields in the variables type double import javax.swing.*; public class Aprendizaje...
asked by 10.09.2017 / 23:27
0
answers

How to show a popup window above the call layout in Android 7.0 version

I am developing a kind of contact provider for Android users. The main function is that when the device receives a call (blocked or not blocked), a popup window with some information of the calling contact appears. The problem is that with versi...
asked by 10.07.2017 / 10:16
1
answer

help java.lang.String can not be cast to java.util.Date I do report with dates

I want to make a report with Java and iReport where the user provides the start and end dates of the output of products in a report dates provided from widgets DateTimes and pass them to a variable String and then that variable parses for that I...
asked by 16.08.2017 / 22:13
0
answers

Clicks in a Frame

I have a problem, what happens is that I have a button in my Frame, that button changes the text when it is executed, the idea is that when the user finds the object, he changes the name of the button and so, and additional of a limit of clicks,...
asked by 20.07.2017 / 19:33
2
answers

launch activity from ImageButton

I have the following code: public void BotonAjustes() { View.OnClickListener listSet = new View.OnClickListener() { @Override public void onClick(View view) { Toast.makeText(getApplicationContext...
asked by 20.07.2017 / 15:15
0
answers

Do deploy of JSF application in Bluemix

I have a simple application in JSF which I want to test in the IBM Bluemix service. For this I am doing tests in the local server that provides bluemix for java and to make things easier I installed the Bluemix plugin for eclipse. When I test...
asked by 05.07.2017 / 18:19