Questions tagged as 'java'

1
answer

Login screen on Android

I emulated a local server for XAMPP and started trying to develop a login screen for an Android application. It is working perfectly, but only when I log in to the localhost (using my local IP address instead of localhost, because the...
asked by 03.10.2014 / 22:03
1
answer

Read each existing row in StringBuffer or String

I have a text with the following format: Data Valor 20140901 278 20140902 248 20140903 458 20141004 545 20141005 125 20141106 1020 20141207 249 The same is stored in an object of t...
asked by 04.10.2014 / 10:19
1
answer

Java file does not receive parameters through InputStream

I have a problem with a class on my project application server. I need this class after compiled and running, get a message: or "MSG_PV" or "MSG_RV" from my REDMINE to publish projects or generate them, within my Repository. The problem...
asked by 28.02.2014 / 14:06
2
answers

Netbeans - How to generate a jar with dependencies without the Maven

I have a project in Netbeans, however I only know Maven and I have some dependencies in the project. If I build or even run Netbeans, everything works smoothly, but I wanted to get the jar and test it on other machines. I've tried e...
asked by 20.02.2014 / 22:28
1
answer

Downloading multiple Amazon S3 files

Situation I have hundreds (and even thousands) of small files (~ 50KB) in Amazon S3 separated into buckets per day. Problem I need to download through my Java application delivering to the front end of all files for a given period. My m...
asked by 06.06.2018 / 19:00
2
answers

Problem passing Polled Bean to controller and insert into DB using Java with Spring mvc

I would like you to help me with this problem that is occurring in my application. The following is the code below: package br.com.estoque.Controller; import java.util.Map; import org.springframework.stereotype.Controller; import org...
asked by 17.09.2014 / 04:16
1
answer

Compare current time Joda Time

I have a comparison that checks if the current time is after the configured time. LocalTime horaConfig = new LocalTime(6, 00, 00); LocalTime horaAtual = new LocalTime(20, 00, 00); horaAtual.isAfter(horaConfig); My problem is that since the...
asked by 12.09.2014 / 19:16
1
answer

Deletion involving Java and SQL

The program I'm doing needs to delete users from the database! In the code I determine: Menu: static private void Excluir(Connection con) throws SQLException { String cpf; Scanner s = new Scanner(System.in); Cliente cli = new C...
asked by 26.05.2014 / 14:28
1
answer

Popup of JComboBox is visible until you click the arrow

I have a JComboBox populated with JCheckBox's working normally, but when I click on an item, the JComboBox popup closes. To see if JCheckBox has really been checked, it is necessary to open it again. I wanted to know if it's possible t...
asked by 25.06.2018 / 20:20
1
answer

NullPointerException while reading JSONArray passing String

This is my code, which receives a String in JSON format from the url link When extracting the data, according to this class / method public class JSONDataHandler { public List<String> extractDados(String string) { List<String&...
asked by 27.06.2018 / 16:35