Questions tagged as 'java'

1
answer

Trigger event when clicking day in JCalendar?

How do I put an event on each day of JCalendar? My intention is to click on a day and create a sort of reminder that is related to the day, in a way that when the user clicks again on the day he sees the reminder, but I have no idea how to make...
asked by 01.12.2015 / 20:37
1
answer

How to get the value of the version property in pom.xml?

I need to get the value of the current version of the application in various parts of the code. A priori I thought about creating a class containing the version: public class Version { public static String getVersion(){ return "0.1...
asked by 02.12.2015 / 06:36
1
answer

WebService (AsyncTask) only works with Debug?

I'm making my Android application load data from a WebService. In it, I'll load date data into a Spinner, and when it's complete, the same dates will load other types of data into a ListView, but for now I'm using an example to see how it got an...
asked by 04.12.2015 / 11:56
1
answer

JFrames Edition

I have the following code that corresponds to the Header Panel but does not give me the desired output in the image. Can anyone help me? publicclassPainelEstadoContactoextendsJPanel{/****/privatestaticfinallongserialVersionUID=1L;privateJane...
asked by 03.12.2015 / 23:33
1
answer

How to redirect the link in web.xml from vraptor to a Controller?

I have the following codes below: web.xml: <error-page> <error-code>404</error-code> <location>/error/404</location> </error-page> <error-page> <error-code>500</error-code>...
asked by 15.07.2015 / 20:54
1
answer

Copy page text and paste into another with JAVA or Selenium WebDriver

How do I copy a text from a Web page and paste it into an input on another page, with java or Selenium WebDriver?     
asked by 11.05.2015 / 15:16
1
answer

Google api v2, I already have the key, but provided by third parties, how to enable without SHA-1?

I have a key to enable Google Maps V2 on android, I did everything I had to do in Manifest and Gradle, when I run the application, the Google-named Fragment appears, but it does not loads nothing, it's in Beige light color, with nothing on the...
asked by 14.05.2015 / 02:22
1
answer

Android Studio does not display correct English characters

My project is not displaying any Portuguese characters correctly. When I display a string as "no", it displays "no." The strange thing is that when I call the direct string of res/string.xml , it works correctly. Anyone have any idea wh...
asked by 21.05.2015 / 18:39
1
answer

(Hibernate2) GenericJDBCException: Could not execute query - Closed session error while navigating the platform

Good afternoon! I have a web application and I decided to migrate it to Cloud from google. When I start my tomcat, the application runs smoothly, but after a certain time, these errors begin to appear. 09:24:35,719 WARN [JDBCExceptionRepor...
asked by 25.05.2015 / 21:18
1
answer

Webservice consumed via servlet error 500 JBoss AS 7

Talk, guys! I have a project, which I decided to split in two: a core and a web. The core uses CDI with all persistence and business rules, exposing its functionality via REST and JSon webservices. Already the web project is just the html, wi...
asked by 23.05.2015 / 03:06