Questions tagged as 'java'

0
answers

BroadCastReceiver volume

Is there any way you can get a "user pressed and held down volume button for 3 seconds" action? I would also like to know if this action can be received even with the operating system screen locked.     
asked by 11.05.2018 / 16:54
0
answers

How to configure xms and xmx directly in the project?

Hello, I'm having an issue with "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space ", I ran a search and found that the solution to this is to increase the parameter and "xmx" , but I was only able to increase these parameters to th...
asked by 07.05.2018 / 05:46
1
answer

Removal of Duplicate Elements: divide and conquer

I'm having trouble getting an algorithm that removes duplicate elements in an array (it can only be integers), which uses the Divide And Conquer method. I'm needing for a college job, and unfortunately I'm not able to find / implement an algor...
asked by 14.05.2018 / 22:32
1
answer

"p: message" No Message in XHTML

Hello, I'm implementing a cadaster using the primefaces to display the critical messages I've made in the bean. I'm using FacesContext as below: FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, "...
asked by 05.05.2018 / 22:24
0
answers

Web Scraping with java and Selenium

I'm trying to make web scraping in my school system , I'm using lib Jsoup to do the parser, the problem is when I log in to the page, Jsoup can not control the page, thus making it difficult to login. To solve this problem, I found the possible...
asked by 05.05.2018 / 21:16
0
answers

Create snap package for a Java application

I need to create a snap installation package for a java application that I developed. I followed the creation tutorial for java but it did not make it clear how to encapsulate an application I created. I also need to know how to add Oracle JRE...
asked by 09.05.2018 / 15:57
0
answers

Force number of ticks on axis X

I wanted to force BarChart's X to have 31 ticks. I only have 10 values, but I would like to show 31 ticks, is it possible? I use Primefaces, but I also use extender, which is directly using jqplot's api. I would like it to appear from 1 to...
asked by 09.05.2018 / 18:37
1
answer

How to create a Registration vector in PLSQL

I have a record of TYPE trec IS RECORD ( cd_multi_empresa NUMBER(8,2), tp_atendimento CHAR(2) ); vcAtendimento trec; I need a registry vector, I used this and command: TYPE TcAtendimento IS VARRAY(10) OF vcAt...
asked by 10.05.2018 / 23:24
0
answers

Using record with schemas in PLSQL

I'm using a record to store data: TYPE TvcAtendimento IS RECORD( CD_ESPECIALIDADE DsSch.especialid.cd_especialid%type, CD_MULTI_EMPRESA DsSch.multi_empresas.cd_multi_empresa%type, TP_ATENDIMENTO DsSch.atendime.tp_atend...
asked by 10.05.2018 / 20:43
0
answers

p: summaryRow does not work with p: columns

I have a JSF page with a p:columns to show data analytically and a p:summaryRow to show the summary. It happens that inside my p:summaryRow , I have p:columns , because I can not predict how many results I'll have, s...
asked by 09.05.2018 / 19:03