Questions tagged as 'java'

2
answers

JSF - How to pass a Bean function as an argument to a function in JavaScript?

I would like your help. I am developing a system in JSF, and I have the following need: I would like to pass a bean function as an argument to a function of mine in JS, so that I determined future moment I can call such a function. For example:...
asked by 02.08.2016 / 04:33
0
answers

Automate site navigation for software testing activities

I'm in a web systems development project, accessed by the browser. We are constantly making changes in the operation of the processes and at each specific period we perform a test on the system's functionalities (registers, validations, buttons,...
asked by 02.08.2016 / 16:35
0
answers

Android - How do I disable automatic camera lighting?

I would like to disable camera auto-lighting on Android. When I use the camera for example, if you bring something closer to the lens while shooting, it makes shooting clearer. I wonder if there is a method to disable this feature. I'm wor...
asked by 27.06.2016 / 16:34
0
answers

I can not upload images to Chrome - Play! Framework

Hello, I'm using Play! Framework and I'm having a problem trying to upload images, especially in Google Chrome: [error] play - Exception caught in RequestBodyHandler java.nio.channels.ClosedChannelException: null at org.jboss.netty.channel....
asked by 28.06.2016 / 03:50
0
answers

Selenium opening two browsers even I instantiating only one

Galera, I'm using Cucumber with Selenium in JAVA. I have the following problem: at each step I do: private WebDriver driver; @Before public void before(){ driver = new FirefoxDriver(); } @Given("^something$) public void someGivenMehtod(...
asked by 26.07.2016 / 15:43
1
answer

With what language can I make a form? [closed]

I need to make a form similar to this, even the fields and (| | | __ |). And I was using Java in NetBeans, but I can not make it identical to those fields. What language do you recommend for me to put together such a form? I await an answer...
asked by 26.07.2016 / 19:38
0
answers

JPAUpdateClause with Join

I have the following entities: @Entity @Getter @Setter @NoArgsConstructor @Table(schema = "MYDB", name = "TB_TESTE") public class Teste implements Serializable { @ManyToOne @JoinColumn(name = "CO_TIPO_TESTE") private TipoTeste tbT...
asked by 28.07.2016 / 19:40
0
answers

paintComponent () method deleting images in JFrame

I need to generate a map according to a txt file that I get as input. Each font in my txt file corresponds to a terrain type of the map. I've created Image arrays that will store the images I can use for each type of terrain and draw thos...
asked by 28.07.2016 / 05:07
0
answers

Save a csv file

I'm trying to save a csv file with data from table 2, so I did as follows: Typing method: public void escrever(int PedLinhas, int ProLinhas) { File caminho = new File(Environment.getExternalStorageDirectory().getAbsolutePath() +...
asked by 10.06.2016 / 14:14
0
answers

connections in web application

I'm creating a J2EE project, jsf. They have multiple beans and a controller, and the beans access the Database. I am having doubts about how to manage the connection to the database, at the moment I have only one connection, but it does not make...
asked by 08.06.2016 / 12:44