Questions tagged as 'java'

1
answer

Do not print linked list correctly

Each node has three data, when printing only the current node is displayed. package lista.enlazada1; import java.util.Scanner; public class ListaEnlazada1 { public String marca; public String modelo; public int kilometraje;...
asked by 12.10.2017 / 03:16
0
answers

java.lang.IllegalArgumentException: adding a window to a container

I'm trying to insert a design of a frame to put it inside a Jlist, but it throws me this error java.lang.IllegalArgumentException: adding a window to a container public class clsRender implements ListCellRenderer, Renderer{ private final JTex...
asked by 13.10.2017 / 02:13
1
answer

StackOverflowError in Eclipse Oxygen using Swing

I have this error when I run the interface    Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError     at java.awt.Window.init (Unknown Source) at   java.awt.Window. (Unknown Source) at   java.awt.Frame. (Unknown Source) at   j...
asked by 12.10.2017 / 03:43
1
answer

How to get from a listview (a string of one or more parameters) a parameter IN ANDROID

I want to make a calculation in a listview that contains two parameters, a string and a double. How could I get only the double? For this I have a spinner (with 5 parameters) that contains a remote BD that I get with an entity called Tbalimentos...
asked by 09.10.2017 / 13:45
0
answers

Android Studio: Create an image by trimming another saved

Good morning. I have a photo taken by the camera. Next I want a series of photos to be loaded in a RecyclerView. This RecyclerView is a list of CardViews. All this is implemented and working. The problem is that when you load each photo in th...
asked by 08.10.2017 / 18:14
0
answers

Error in arrays

package acnumeroletras; public class CnumeroLetras { private double n, um2; private int u, d, c, um; private int d1, d2, u1, c2, m1, m2, m3, c3, um1,DmC; private String cadena = " "; private String unidades[] = {" ", "uno",...
asked by 09.10.2017 / 01:14
1
answer

JFrame in White, does not show me the content

Good morning I'm having a problem with Java JFrame. It happens that I have a JFrame1 that receives an entry and then creates a JFrame2 where it sets an attribute, it makes it visible and then calls a method of that JFrame2. It happens that when...
asked by 05.10.2017 / 13:25
1
answer

Hibernate does not consult the last record in the database

A batch is trying to consult a record of the database to later update it, but simultaneously the user modifies that same record and manages to commit, since the batch was already executing query and obtains the old record (cache first level) and...
asked by 05.10.2017 / 15:06
2
answers

Swagger Java Spring Data Mock API

Making a data mock for an API I have found that having the example in the Swagger editor, after executing the project spring generated by Swagger I find that the input of the endpoint is not acceptable. It is a Json and the example autogenerates...
asked by 06.10.2017 / 14:40
1
answer

How to change the value by the option name of an HTML select tag?

I hope and they are well, what happens is that I am consuming some services and the content of that value is painted as it comes from the database, as you well know that it is already productive and I do not have permission to do what the BD, an...
asked by 04.10.2017 / 14:48