Questions tagged as 'java'

0
answers

BIRT - Report Parameter - Dynamic Listbox - Select All

I am creating a report in BIRT, where in the report parameters (filter screen) I have a ListBox that is loaded dynamically, so the data will change and it is not possible to leave the default value with all the selected items, added a new record...
asked by 22.02.2018 / 12:46
1
answer

JButton ActionPerformed does not open the Frame before ending all events

I have the following problem: When I click on the JButton I want to open a Waiting Frame that prompts the user to wait for a while and in the meantime the program will process the query methods that take some time. However, by clicking on Jbu...
asked by 22.02.2018 / 13:27
0
answers

Iteration While with date and time

How to organize the method JAVA below, to get the output as the example. I have an array of schedules (would be input and output), and I need to associate these schedules with a date range, while I was in and out of the the same day I cou...
asked by 15.02.2018 / 01:01
1
answer

Error executing JSF project

I'm uploading a jsf project, but this error in the console. log4j:WARN No appenders could be found for logger (org.jboss.logging). log4j:WARN Please initialize the log4j system properly. org.hibernate.HibernateException: /hibernate.cfg.xml no...
asked by 15.02.2018 / 02:41
0
answers

Sonarqube validating methods from other JAVA files

I am developing a rule in sonarqube, but I encounter the following problem: If a method of a class calls another method, I want to validate if the called method exists, however, I only have access to the methods of my current class, and often th...
asked by 21.02.2018 / 16:40
1
answer

Client Java Server Application is looped

I am developing a system for reinforcement school functions. The moment I went to implement my class that does the data encryption I needed to change also the type of data that will traffic between client and server from String to Byte. I alread...
asked by 21.02.2018 / 17:05
0
answers

Popular Jtable with DB data without using DefaultTableModel [duplicate]

I'm doing an entire project in layers and read somewhere that using DefaultTableModel is not very recommended. I am trying to receive values registered in the DB and fill a jTable with those values. Below are the defined classes. DAO Layer...
asked by 21.02.2018 / 16:38
1
answer

Arrange thread message

Good evening. I need your help in something simple, I'm doing a chat via RMI, the implementation of the program is already working more as I want, but I'm breaking your head in a simple print. I need to organize the output so it looks like th...
asked by 14.02.2018 / 07:19
0
answers

CountDownTimer Behavior

I have a personal project in which I have to use a countdown timer, I'm using CountDownTimer, but I'm noticing a strange behavior when setting 60000 milliseconds, the count starts wrong (01:00 - 00:58 - 00:57 ...). Would I have resolved or shoul...
asked by 14.02.2018 / 01:56
1
answer

How to print only numbers that repeat between two different progressive formulas? [duplicate]

I have two progressive formulas of 10 numbers. Each of them will add up to a certain number. The first formula thus progresses 0+2+4+6+8+10+12+14+16+18+20 . And its result is ( 2,6,12,20,30,42,56,72,90,110 ). Adding this result...
asked by 13.02.2018 / 18:41