Questions tagged as 'java'

1
answer

Error importing JDOM

Galera, I'm following a tutorial to learn about a Java Calculator done in a distributed way. However, I'm having an import error from the JDOM library, I've imported it anyway: - Zipado - Archive by file - Only the main file But the err...
asked by 24.04.2015 / 23:36
1
answer

ProgressBar using JavaFX

I have a method that reads multiple files and generates a report for each file read. How do I get the time for each service and show on ProgressBar ? Do I have to use Thread or Task ? I tried to do this: public void pega...
asked by 27.05.2015 / 15:39
1
answer

Integration software website Java [closed]

My question is this: I and my team are developing software that analyzes a table with specific data, but to generate this table we use a website where you enter an information and this website analyzes and generates all the data about this infor...
asked by 26.05.2015 / 19:39
1
answer

Resource JFrame Icons

Good afternoon. I'm having problems with my application. It executes with change of icon in JFrame . When compiling it to: "Runnable Jar file" and compile with: Launch4j for binary, the application simply does not open. I am changing...
asked by 29.03.2015 / 16:51
1
answer

JTable does not show column names

I made a JDialog that will show some statistics of the users who use the software, but I am not able to make the name of the columns appear. I tried adding it using .addColumn in the template but it is not working. class Estatisticas e...
asked by 27.03.2015 / 19:11
1
answer

Is it possible to send values of the gyroscope and a seekbar simultaneously via bluetooth?

Hello, everyone! I'm trying to control a Drone (Hubsan X4) via smartphone sensors. But I can not send the collected values of the gyroscope and a seekbar simultaneously. The seekbar represents the speed (throttle) and the gyro is the directio...
asked by 10.04.2015 / 03:37
2
answers

Android: Problem fetching last id inserted with SQLiteDataBase (ORM Lite)

I'm having a problem executing a query (with ORMLite) that adds the return to 'lastConfiguration' in which you should get the last 'id' inserted in the Configuration table. The method that looks for the last configuration is as follows: publ...
asked by 23.02.2015 / 23:57
1
answer

How to extract information from an HTML document with Jsoup?

I've been studying the Jsoup sample for extracting data and extract an example from this Jsoup > But I tried to manipulate the example to extract data from a Div instead of a Meta attribute and I could not. I want to load posts that peop...
asked by 02.02.2015 / 18:01
1
answer

Incremental key

People, I'm doing a web service with Java + Postgres. I set my table in Postgres as follows: CREATE TABLE usuario ( id serial NOT NULL, nome character varying(40), idade integer, CONSTRAINT usuario_pkey PRIMARY KEY (id) ) WITH ( OIDS...
asked by 16.03.2015 / 01:18
2
answers

Convert DTO to Entity Java

I have the following problem, I am trying to create a method that converts DTO's to Entity's and vice versa until the moment I arrived at the following method that converts perfectly when they are compatible attributes String to String ,...
asked by 17.03.2015 / 15:59