Questions tagged as 'java'

1
answer

Exception returned null Java Web

Can anyone help solve an exception being thrown in my application? I'm developing a Java web application, I put only a input and a selectonemenu in the application to try to save the data, the moment I click the save button it g...
asked by 11.06.2015 / 17:41
0
answers

Electronic Invoice in Java [closed]

I have a web system in java that controls the sale of pharmaceuticals and now I need to implement the NFe in this system. I would like to know if there are any courses, libraries or even some example where I can base it?     
asked by 15.06.2015 / 14:13
1
answer

Action on center text button

Someone could help me as I could do so when when I type any text into an input, there I have a button on top of my input where I want to center that typed text. Could someone help me how can I do it? Here's the button I want you to do the act...
asked by 15.06.2015 / 20:19
1
answer

Which language has better performance for multithread webcrawler using parallelism [closed]

I'm going to start a project where one of the stages will fetch certain information from other companies' websites. Given that webcrawler will go through x sites, and each site will visit several pages at least one once a day,...
asked by 09.05.2015 / 16:43
2
answers

Cache Problem - Saving Bank Data to Java System

I have a system developed in Java using JPA, Hibernate, Primefaces. When I write system registry it reflects in the MySQL database normally, so far OK, but when I do unlike the database (register or change) in the application with several F5 it...
asked by 08.05.2015 / 20:36
0
answers

Refresh Main via an IntentService [closed]

I have an application that works together with GCM (Google Cloud Messages), which queries the server and when there is news sends a notification to the user. I need to update my MainActivity listView, what would be the best way to do this?...
asked by 06.07.2015 / 14:38
0
answers

Set JDialog width according to the size of the column sums of a table

I have the sum of the width of the columns and I need to set this value so that it does not hide parts of the columns and decrease the window. Any suggestion?  I created a method that returns the sum of the size of the columns.  Then I made anot...
asked by 06.07.2015 / 15:47
0
answers

How to display data dynamically in JInternalFrame?

I'm making a small betting software and I'm completely lost in being able to allocate data dynamically on my interface so that for every entry in the database a structure with a JPanel is displayed that will have components inside it and...
asked by 22.09.2015 / 00:55
1
answer

How to close a ServerSocketChannel?

I have the following code: Selector socketSelector = SelectorProvider.provider().openSelector(); ServerSocketChannel serverChannel = ServerSocketChannel.open(); serverChannel.configureBlocking(false); serverChannel.register(socketSelector, Sel...
asked by 22.09.2015 / 22:24
0
answers

FileNotFoundException being thrown on Twitter search - Java

I have an algorithm that does a search for old Twitter tweets between two dates. My goal is to return all tweets. The code was like in the question of this post a> (may be a parameter) a few days ago and was working, but due to some changes to...
asked by 30.07.2015 / 23:15