Questions tagged as 'java'

1
answer

Create a ListView with triangular tip in JavaFX application

I'm developing a JavaFX application, and I want to make a menu from a ListView, which will be triggered from a button pressed, but I'd like to put a triangular tip on the top of this menu according to the image I sent, I could not via CSS. How c...
asked by 09.09.2016 / 03:11
1
answer

Call activity after the thread is executed

I have an app that logs in to a teacher in a webservice and after logging in, it inserts the user into the android database. If the result is other than null, I want it to call the activity menu. But my application is closing. Follow the code....
asked by 08.09.2016 / 18:36
1
answer

publishProgress only updates Progress Dialog at the end of doBackgorund

I am not able to update the progress of my progress dialog during the process of inserting into the SQlite database from a JSON array. The process occurs without problems, however, the update only happens at the end, when the insertion is fin...
asked by 01.10.2016 / 01:16
0
answers

Primefaces - RequestContext Update

Hello, When loading the page the method iniciarTeste() will be called as follows: <f:metadata> <f:viewAction action="#{testeController.iniciarTeste()}" /> </f:metadata> On the same page I have the field nome...
asked by 02.09.2016 / 21:55
0
answers

JAVA Application skips commands [duplicate]

When I choose case 1, it works ok. But if you choose this option again, the console displays the menu, as if the option did not work. Are there any visible errors in this code? { import java.util.Scanner; public class Banking { publ...
asked by 05.09.2016 / 02:39
1
answer

UTF-8 conversion error

I am converting Strings that I retrieve from the MySql database, however in the database it is saved as UTF-8 to ISO and I am using the code below. public static String ISO(String str) { Charset utf8charset = Charset.forName("UTF-8");...
asked by 06.09.2016 / 05:12
0
answers

https problem Excess redirection

On my web system, when I add the code in web.xml: <security-constraint> <display-name>ConstraintSSL</display-name> <web-resource-collection> <web-resource-name>protected</web-resource-name> <de...
asked by 04.09.2016 / 18:12
0
answers

Losing connection to database. Postgress, Glassfish

After about 15 minutes my system stops communicating with the database. Log Entry Detail Close Timestamp 05/09/2016 21: 22: 30,287 Log Level ERROR Logger org.hibernate.engine.jdbc.spi.SqlExceptionHelper Name-Value Pairs {levelValue = 1000,...
asked by 05.09.2016 / 23:35
2
answers

InputText returns null

Talk to people, I have a problem that I do not know what else to do. My idea was to have a checkbox that when dialing would show a field and unmark would hide this field, for this I used rendered and ajax, but when I mark this checkbox even if I...
asked by 29.09.2016 / 22:12
0
answers

JAVA WEB App with Installer

Wordpress or Joomla , they work like this: / p> You download a zip and unzip the web server directory (example apache), access the context URL (eg link ), at that time the application checks if there is a directory with the name " instal...
asked by 05.09.2016 / 15:02