Questions tagged as 'java'

0
answers

Repeat the fields by pressing add 2 or 3 times or more

private void btnAgregarActionPerformed(java.awt.event.ActionEvent evt) { this.proveedor = new Proveedor(); proveedor.setPresente(txtpresente.getText()); proveedor.setEquipo(txt...
asked by 21.07.2018 / 01:44
1
answer

Security of java sessions: Are they stored on server or client? Can they be modified by the user?

I think the title is quite descriptive. The java sessions. Are they stored on the client side or on the server side? If it is stored on the client side (in the web browser), do they run the risk of being edited? If so, what countermeasures can b...
asked by 21.07.2018 / 02:02
0
answers

Get total time of a video with the EmbeddedMediaPlayer interface

I am making an audio and video player, it turns out that I need to know the total time of the video. I tried using the length () method and I can not get the result, if someone could help me I would appreciate it. Here is the link of the API api...
asked by 21.07.2018 / 00:22
0
answers

JOptionPane. Java

I have a question, I would like to make a small program about diseases using JOptionPane . But at the time of reading the variables that would be the names of each disease and the variable "disease" to later use it in a conditional if...
asked by 21.07.2018 / 14:14
0
answers

How to send Spring MVC a JSON of a formula with ExtJS (6.2.0)?

I'm making a Login using Spring MVC and ExtJS version 6.2.0. It does not work for me and I have already surfed without finding the solution since I pick up the username and password and supposedly send it to my Spring driver and there process th...
asked by 21.07.2018 / 14:31
0
answers

I think there is an error in the conditional of the method * darPesoEnKilogramos

package taller_practico; import java.util.Scanner; /** * * @author salas */ public class Punto5 { // --------------------------- //--------------atributos private double pesoEnToneladas; private double pesoEnKilogramos; /...
asked by 25.07.2018 / 19:58
0
answers

Consume service rest of c # from Spring Boot

I need an example or at least recommendations on how to call rest apis de c # using Spring Boot. For example: This is the C # method to which I intend to make the call:     
asked by 18.07.2018 / 22:46
1
answer

Error trying to export a jTable to excel

I'm making a code for the generation of an Excel file of jTable , however at the time of executing it I mark this error and I do not know how to remove it    Exception in thread error "AWT-EventQueue-0"   java.lang.NoClassDefFoundError:...
asked by 17.07.2018 / 16:12
0
answers

How to make a list using fragments

I am having probelmas trying to show a list inside of a fragment, inside activity_main I have the following code, that for the moment it only shows a textview with a phrase and if I keep it that way the menu I am using works for me (template of...
asked by 17.07.2018 / 21:42
0
answers

Obtain an entity, assign it and save it again

I have a system where I have users and each one can have several roles. @Entity @Table( uniqueConstraints= @UniqueConstraint(columnNames={"username"}) ) public class CustomUser implements UserDetails { private stati...
asked by 20.07.2018 / 03:15