Questions tagged as 'java'

2
answers

How to put 2 loop inside a list? or a second loop for a second list [closed]

This is a program that verifies between 1 to 100 which numbers are divisible by 3 and also counts their quantity, all over this formula: a=n*n; b=a+?; This question is where I wanted to loop for any number from 1 to 100. Code: public...
asked by 11.08.2016 / 01:13
1
answer

Parsing error [duplicate]

I wrote the code below: import java.lang.Math; import.util.Scanner; public class HelloWorld { public static void main(String[] args) { int y; int cont; int i; Scanner x = new.Scanner(System.in);...
asked by 20.08.2016 / 20:21
1
answer

Problem removing data from an ArrayList

Good afternoon, I'm having a hard time reading and writing data in an arraylist. The data from my TXT file: Frames 12345 Rafaela 54321 Kaique 12345 Matheus 54321 Here is my code: if( evento.getSource( ) == bENTRAR ) { ope...
asked by 04.09.2016 / 23:34
1
answer

My Rest With Spring does not work

The part of Rest I've circled almost all google and I still can not solve. the problem is exactly that when I make the query or I give a sava postman day or straight through the url to see if Json returns and nothing happens just the 404 error ....
asked by 29.11.2016 / 12:39
1
answer

Android Studio app

I'm developing an application that is a chord dictionary for guitar. And as there are countless chords, consequently I have countless Activities. The problem is that the application will be very, very large, because you are using the buttons and...
asked by 04.01.2017 / 00:47
1
answer

H2 Database on Cronapp

I received the following message when trying to publish the application to CronApp: "Your project uses an H2 database, and the data that is persisted in this type of database may be lost due to the distributed and cloudless state of the architec...
asked by 03.02.2017 / 13:51
1
answer

How to create a search filter for a three-dimensional string?

I have ArrayList of type String Three-dimensional: String[][] And I would like to do a search system that filters the values, eg: String[][] table = {{"Ronaldo","32","Atacante","Sao Paulo"}, {"Cristiano",...
asked by 03.02.2015 / 20:02
1
answer

Is there Framework for programming in JAVA Desktop? [duplicate]

Is there a graphical development kit for the Java language for desktop applications?     
asked by 06.03.2015 / 04:09
1
answer

Doubt on how to use Hashmap [closed]

I'm having a question about using Hashmap of Java. On that occasion, I have a class with the Hashmap custo attribute. In this class, I need to create a constructor and in this constructor, I need to request the insertion of 3 integers...
asked by 14.11.2018 / 17:22
1
answer

Insert problem: String sql is correct, but not inserted by Java, only manually by Mysql! Procedures datetime attributes

Good evening everyone! I'm using java and Mysql. At the moment I'm using Procedure for insertion everything happens in a perfect way the String goes to the bank with all the correct parameters, but something happens that it hits the bank, burns...
asked by 30.11.2018 / 03:52