Questions tagged as 'java'

1
answer

Java Registration Creation

I'm creating an academic system in Java, but I have a problem. I have 4 classes ( Principal , Pessoa , Aluno and Professor ). I think it's something simple, the error that appears is in class Principal error:...
asked by 17.08.2016 / 21:16
1
answer

Encryption of GET and POST request parameters

I am a beginner in java and I am studying java web, mainly Servlets and JSP. And I need to develop a web application as a college work, focused on security. For this I would like to encrypt the parameters of the URL's (in GET) and also the param...
asked by 12.08.2016 / 19:30
1
answer

Error: Could not find or load main class solution

I'm training for OBI and I'm getting the exercises on your website and sending to run on it too, but my code is giving error:    Error: Could not find or load main class solution " Error: Could not find or load the main class solution " a...
asked by 26.05.2017 / 04:09
1
answer

I can not load fields [closed]

This is my screen <h:panelGrid columns="6"> <h:outputText value="Nome: * " /> <p:inputText id="nome" value="#{funcionarioController.funcionario.nome}" size="18" maxlength="80" required="true" label="Nom...
asked by 01.08.2016 / 19:09
2
answers

Using Android Camera

Good afternoon guys, I'm new here, so I'm sorry to ask you anything already commented on. Next we have an app in the company already a while ago for sdk 7, what happens is that they recently requested to use the camera for photos, well I'm using...
asked by 10.08.2016 / 18:59
2
answers

Marker pass id to setOnInfoWindowClickListener

I'm trying to pass the value from the marker to the setOnInfoWindowClickListener, but I'm not sure what the best way for this is, can anyone help me? It even passes a value, but not the loop, that is, it is not passing the value of the marker by...
asked by 10.08.2016 / 14:28
1
answer

How do I add an event to the TrayIcon notification balloon?

I have an application that uses the TrayIcon class and I'm displaying a message through the displayMessage() method. (A small "balloon" that rises from the icon represented by my TrayIcon). The method call is as follows: tray....
asked by 04.08.2016 / 17:30
2
answers

Screen to configure connection with Mysql

I am currently using the following code to execute connections with my DB public class ConexaoDAO { public Connection getConexao() { try { return DriverManager.getConnection("jdbc:mysql://ip:porta/tabela", "usuario", "s...
asked by 22.11.2016 / 14:58
1
answer

Best object-oriented way to solve the problem

Suppose I'm modeling a contracheque. However, each entry in a contracheque I chose to model as a ItemContracheque . That is, to represent my Contracheque as a whole, I can use a simple list of ItemContracheque . Here is the questi...
asked by 23.11.2016 / 18:53
2
answers

How to search the Session in Hibernate 5.2.3.Final

Hello! I am changing my Hibernate from version 4.3.8.Final to 5.2.3.Final. Now I am not able to fetch the Hibernate Session as it did before, like this: (Session) manager.unwrap(Session.class); Give Cast Error :java.lang.Clas...
asked by 13.10.2016 / 22:06