Questions tagged as 'java'

1
answer

Error extracting data from EditText in fragment using a Helper class

I'm trying to get data from an EditText that is in a snippet with the help of a Helper class, to later save to the database, but the following error is shown in the AndroidStudio debugger: Although I have not yet been able to solve the root p...
asked by 02.03.2017 / 18:58
0
answers

Call a report with subreport from a Managedbean

Does anyone have a Java example of how to call from a Managedbean a report with subreport? I already have the report with the subreport working fine in ireport, but when I try to call from the application it just calls the main report. P.s. I...
asked by 03.03.2017 / 08:54
0
answers

How to do Jframe with JmenuBar calling another JFrame?

Hello, I have a main class that is working but at the time of clicking on the Registration menu and then client it does not call the other JFrame screen CustomerContentUI. Here is the snippet that was to call the other JFrame that is implemen...
asked by 02.03.2017 / 20:16
1
answer

Android, OnItemClickList with variable ListView

In this code I have a list that keeps updating and adds another line in listview , however, I need to position it to be able to delete it from the vector. It happens that it is giving error with the class OnItemClickList .... package com...
asked by 27.02.2017 / 18:16
0
answers

Wanning: Can not merge cells

I'm having trouble with a form generation system,   Warning: Can not merge cells - top left and bottom right incorrectly specified Range r = s.mergeCells(1, 0, total, 0); //<---quando passa dessa linha aparece o erro Label alunos = new...
asked by 13.03.2017 / 12:34
0
answers

the message is not updated when sent to more than one screen

I explain better in the image. But it is as follows. I have a bt to add fruit. whenever a fruit is added, a new screen opens for it. but the problem comes: ALL ADDED FRUITS MUST APPEAR ON ALL SCREENS, BUT ALL FRUITS, ONLY APPEARS ON THE LAST ADD...
asked by 13.03.2017 / 03:58
0
answers

Problem uploading a photo to a web server

Hello! I'm having a problem uploading a photo taken from an android application to a web server. On the local server it normally sends the photo, already on the web server, it sends only one photo and only sends another if it clears the applicat...
asked by 11.03.2017 / 21:11
0
answers

objects sharing the same copy of a variable

The goal is to put into practice the concepts I'm learning at MALA GUPTA, 2015 . So the way I found in contributing is to ask the community to implement the concepts in practice. So whoever is interested and wants to contribute and wants to dem...
asked by 03.04.2017 / 02:12
1
answer

Error 404 when rolling jersey on tom-cat apache

I'm using jersey more every time I run the error: 404 in apache tom-cat. package br.com.gomes.LojaDeVendas.util; import javax.ws.rs.ApplicationPath; // chamando o pacote do service import org.glassfish.jersey.server.ResourceConfig; @Applica...
asked by 25.02.2017 / 23:54
0
answers

An actionListener for several JButtons and several JLabel

I wonder if there is a way to reuse a code for multiple jbuttons by changing the text of multiple labels. here is part of the code: petrificarSetaEsquerda = new JButton(""); petrificarSetaEsquerda.addActionListener(actionListener);...
asked by 01.03.2017 / 05:36