Questions tagged as 'java'

0
answers

How to automatically resize div's with image and description

I have a project in which I have products with image, description and price, I want to leave the div's resizable automatically according to the description and image. I also want a static value that does not go over and misallocates the div's, i...
asked by 19.06.2017 / 19:33
1
answer

Value '0000-00-00' can not be represented as java.sql.Date

I need to get a table named history the last three months and a year before to register in the product table. The code is as follows: for (int i = prod.getHistoricos().size(); i >= 0; i--) { if (i == prod.getHistoricos().si...
asked by 19.06.2017 / 18:54
1
answer

Problem opening subreport of IReports on another terminal

I created a report that looks for information in a subreport to show all information. However, when running on the development machine, the report appears without any problem in both the IDE and running the generated JAR later. But when ru...
asked by 24.05.2017 / 16:08
1
answer

Comparing data returned from DB

I have a problem that is as follows: When reading data from a particular Firebase node, I get an indefinite number of Strings. The name of each String , is ID of User. When returning this data, save it in ArrayList , to com...
asked by 24.05.2017 / 05:34
1
answer

Connection with DIMEP point clock

I need to create a simple software that will access the DIMEP point watch via the network. I wonder if anyone has worked with them and where I start. I've tried calling the manufacturer but they do not provide the integration manual. I wanted...
asked by 24.05.2017 / 19:23
1
answer

Help with Subprocess and Thread

I made a code that each subprocess call is executed by a different Thread, but they execute the same method with same parameters. Would you like to call these subprocesses using Thread but passing different commands? Example, open the calc...
asked by 10.05.2017 / 15:15
0
answers

Android - Error renaming package on android

I'm trying to change the name of the package with .app3 to .PlayTag when I try to upload to google play console. I get the message that the com.app3 name should be changed. InsidetheXMl.Manifesthasthis: But I have this information in th...
asked by 10.05.2017 / 19:06
0
answers

Update p information: realtime dashboard

I need to make a screen with information in real time and that will run on a TV for 24 hours, seven days a week. I studied some ways to do this, using RESTful and Primefaces components, such as% updated with <p:panelGrid> . If this i...
asked by 05.05.2017 / 20:00
1
answer

getResources (). getDrawable (R.drawable.my_icon) obsolete, how to proceed

Hello, I'm having problems with the fact that getDrawable is deprecated. Why, how can I convert my code so that it can be updated? Thank you in advance! int height = 100; int width = 100; BitmapDrawable bitmapdraw=(BitmapDrawabl...
asked by 09.05.2017 / 08:14
1
answer

Glassfish - java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence

Could you say why this exception happens? 2017-05-03T13:08:59.235-0300|Grave: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(...
asked by 03.05.2017 / 18:22