Questions tagged as 'java'

1
answer

Include additional files for the DLL with JNA

I'm having a problem running a DLL in Java via JNA, the DLL looks for a file that is in the same folder named "propriedades.properties" , this DLL works normally, but when using JNA it does not find the file. It seems that JNA runs the DLL...
asked by 13.11.2015 / 20:35
1
answer

Minimize window jfx

My window is missing the system borders. primaryStage.initStyle(StageStyle.UNDECORATED); I created a button to minimize the window but exception when assigning to my stage : @FXML void btnMinimizarOnAction(ActionEvent event) throw...
asked by 12.11.2015 / 19:04
1
answer

What HTTP error code should I use?

The project has a login page with two fields one email and another one that is your password! I have a javaweb application and in the deployment descriptor I have some declared error pages, which are related to the errors made by the users, with...
asked by 08.01.2016 / 17:45
2
answers

I can not store the correct Radio Button information in the database

I am not able to store the correct Radio Button information in the database. When I select the Public option it stores Public, when I select the Private option it stores Public. Can anyone help me? import android.app.AlertDialog; import androi...
asked by 15.09.2015 / 17:24
1
answer

Mark JCalendar when there is an event on the day [closed]

In my Java Desktop application, I'm thinking of adding a JCalendar to easily inform on what day there are events that will be written to a database. My question is whether it is possible to make a markup or change of color in the calendar of...
asked by 16.09.2015 / 15:05
2
answers

Error android studio, error: Error retrieving parent for item: No resource found that matches the given name 'android: Theme.Holo.Light'

Someone would know what this error is: error: Error retrieving parent for item: No resource found that matches the given name 'android: Theme.Holo.Light'.     
asked by 15.09.2015 / 20:26
2
answers

Primefaces p: dataTable changing default message "No records found."?

And I have a p: dataTable: <p:dataTable var="ind" value="#{logIndPersistBean.list}" paginator="true" rows="10" id="table" rowStyleClass="odd-row, even-row"> <f:facet name="header">...
asked by 20.08.2015 / 21:41
2
answers

Dynamic color in TextField in Jasper reports

I want to change the color of the textfield according to the value of it, I found several tutorials that say to create a style and apply to the textfield, have to select a "styled text" option that I did not find in the textfield properties in j...
asked by 10.09.2015 / 17:49
1
answer

Get a specific part of a string using ANDROID split method

I made a code to display processes in android but when printing in a text view, it prints the PID, process name, cpu memory usage etc. the view stays that way 958 2 0% S 22 577164K 42624K bg u0_a63 com.snaptube.premium I would lik...
asked by 16.10.2015 / 20:05
1
answer

Java cast and convert

How do I convert ValueCallback<Uri> to ValueCallback<Uri[]> ?     
asked by 16.10.2015 / 18:26