Questions tagged as 'java'

3
answers

Inserting image with JasperReport via parameters

I'm learning a little about jasper / ireport and I'm having some trouble generating a report with an image. I followed some tutorials I found on the internet but I'm making some mistake that I can not see. My test report is extremely simple....
asked by 11.07.2014 / 16:10
2
answers

JSP Dynamic Change in JBoss AS 7.1

Hello. As far as I'm working with JSP I find it very bad to have to pause and start the application every time you need to see a change. Do you have any way to update page changes without doing all of this?     
asked by 24.07.2014 / 19:25
1
answer

Save Integer, Integer, ArrayListInteger in a collection

What I want is to do a data binding as follows: (<<Integer>, <Integer>, ArrayList<Integer>) I tried to create a HashMap<Integer,HashMap<Integer,ArrayList<Integer>>> the problem is that I forgot...
asked by 04.12.2014 / 12:05
1
answer

Identify Android version by some method

Is there a method to identify the user's Android version as it enters the app? It will be useful for the application to run animations between screen transitions, if the user has an older version, will not run, if you have a more up-to-date v...
asked by 04.10.2014 / 23:27
2
answers

Leader and led logic with recursion in Java

I'm having a relatively simple problem to solve, but I'm not getting a logical disability. My problem is this: I have a hierarchy of leaders and leaders. For example: Lider 1 Lider 1.1 Lider 1.1.1 Lider 1.1.2 Lid...
asked by 03.09.2014 / 16:11
1
answer

How to leave the screen always on even when closing the app

I'm developing an app and I'm trying to implement a method that will make your screen never go away. I researched some forms on the internet and was able to do this within the application. However, I would like this feature to continue to w...
asked by 08.01.2016 / 18:57
2
answers

Why does Spring boot not use EntityManager?

Some time ago I was studying Java EE with handouts. It used JSF and Hibernate . I am now working with Spring and Hibernate . But different from Java EE , I do not create any EntityManager . Is it not required?     
asked by 23.12.2018 / 05:35
1
answer

Is there a way to avoid the size specifications in the Android layout?

I work with Android on a day-to-day basis, and I'd like to avoid specs of size visualizations. For example: If I make a TextView , I have to assign Height and Width properties, like this: <TextView android:id="@+id/activity_lbl"...
asked by 04.02.2014 / 20:41
1
answer

NullPointerException occurring

My teacher uses EasyAccept technology as error validation. One of the tests requires the use of Exception . In the code below, I was able to handle in a way that I think is appropriate, but it persists in one and the same error. p...
asked by 15.10.2015 / 21:19
2
answers

Datatable not population object? JSF

I have the following problem: I have a DataTable that is populated with entities of type Login that belongs to Usuario as relationship. A button named Add Login calls the method addLogin() of Login...
asked by 13.10.2015 / 22:46