Questions tagged as 'java'

1
answer

Add event (action) when changing tab

I have a TabPane in my project that contains 3 different tabs, I would like to know how to add an event when changing "tab" in JavaFX. For example, by clicking the "address" tab, create an event for me to add functionality to this tab. Per...
asked by 14.07.2015 / 20:05
1
answer

How to get data from a form and play in a PHP Array

I have an Android application, which creates a TXT file in PHP, bringing the XML form data from Android itself. Look at the code: $f = fopen('POST_DATA.txt', 'a'); fwrite($f, 'ID: '.$id."\r\n"); $id = uniqid( time() ); fwrite($f, '...
asked by 19.06.2015 / 14:17
2
answers

Weka not recognizing attribute in format "date"

I have a set of treatment and tests that I created with a program in Java. In the header, it looks like this: *@attribute data date "yyyy-MM-dd"* And among other attributes. An example of a row of data is: *@data "2014-01-02",11.27...
asked by 17.06.2015 / 22:09
1
answer

Convert JSoup doc to string, apply Regex, and return a value in String

I'm using an example I found called AndroidJsoup to get the source HTML of a certain page, but I'm not getting just the code snippet I want that is in a certain% In short, AndroidJsoup should run, taking <script> , appl...
asked by 17.06.2015 / 02:13
1
answer

How to program to open a specific file type?

I would like to learn to tinker with files, good for example programming in java and working with file CBR , those files HQ or Gibi For this there are specific libraries for each file or class ready or else would have how to c...
asked by 17.06.2015 / 14:26
2
answers

Dependency Injection - Two objects that implement the same interface

I have two objects from the AmazonS3UploadService and DatabaseUploadService classes, and both implement the UploadService interface. The Uploading class has both objects injected by the Spring container. The problem is that the container can...
asked by 13.08.2015 / 15:20
1
answer

Display an alert when 5 minutes are missing for the event

I'm developing a Java calendar, where I have the date and time saved in the database. However, what would be the best way to display an alert 5 minutes before the event? Do I have to run the query method all the time until the hours hit? Or is t...
asked by 16.07.2015 / 15:59
3
answers

Where can I download / install the Eclipse IDE, the WindowBuilder package?

I need to create applications with graphical interface in Java. I use Eclipse Mars as IDE to program in Java, I noticed that it does not have in its default installation the WindowBuilder package to make graphics screens in programming, like the...
asked by 30.07.2015 / 16:08
1
answer

How to read the return from webservice json (WEBSERVICE - JSON)

I have this JSON : { "articleList": { "conversas": [ { "cd_resultadofinanceiro": "24", "cd_feedbackfinanceiro": "61", "mm_resultado": "Tomar as devida providencia judiciais.", "dt_resultado": "2015...
asked by 17.07.2015 / 14:27
1
answer

What dependencies in Maven to use JQWicket to integrate Wicket and Jquery

I'm developing a Wicket-Hibernate-Spring project. Until I made the communication and persistence of objects in the database, it was working normally. After some time, with some scopes increasing, I need to use JQWicket, which would be a depen...
asked by 13.06.2015 / 17:39