Questions tagged as 'java'

0
answers

Runtime.getRuntime (). exec (String); does not behave the same in different equipment

I need to access the MachineGuid value of the computer's windows registry, I use this: registryPath = "HKLM\Software\Microsoft\Cryptography"; registryKey = "MachineGuid"; Process process = Runtime.getRuntime().exec("reg query " + '"' + regist...
asked by 27.06.2018 / 23:34
0
answers

Java Chat: Client does not receive responses from the server

I have a Java code that is a chat. The purpose of the code is for a client to connect, the server knows which client is connected and send a notice to all the clients informing who is connected and then start chatting with the clients that ar...
asked by 27.06.2018 / 09:55
1
answer

Load 2 ArrayList in a JTable

I have this method that theoretically loads two ArrayList into a JTable public void CargarJTbable() { DefaultTableModel modelo = new DefaultTableModel(); modelo.addColumn("ID"); modelo.addColumn("RUT");...
asked by 27.06.2018 / 10:53
0
answers

Barchart does not start fromX in groupsbar - MpAndroidchar

I am using the lib of mpandroidchart and I have an error in groupsbart , which is a class where the first parametro.es fromx says that it initializes the X axis but when you put 1980f as it says to the documentation I...
asked by 27.06.2018 / 10:04
0
answers

hello, I used spring boot generating maven project with java and spring boot 2.0.3

I have used spring boot generating maven project with java and spring boot 2.0.3    Failed to execute goal   org.apache.maven.plugins: maven-surefire-plugin: 2.21.0: test   (default-test) on project Does anyone know this error? My pom.xml...
asked by 27.06.2018 / 11:14
0
answers

Connect cell phone with android studio on a remote desktop

For issues that escape from my hands, I am developing an application ANDROID on a remote desktop that actually in a virtual machine on a server, but I would like to use my cell phone as an emulator, but I can not get the virtual machine t...
asked by 27.06.2018 / 21:28
0
answers

Send messages from Servlet to Java Script

I have a question that has taken a little time from me. I am working with a Handsondtable , component of the JS table. It turns out that when I insert data into the table, I send it to the Servlet by means of a call from the JavaScript. In t...
asked by 05.07.2018 / 13:32
0
answers

Listview does not show all items

I have a listview (1) in which another listview (2) is loaded next to a textview, the text shown in the textview goes from "1/2018" to "10/2018" consecutively. In the Listview (1) it can be seen that said textview does not show consecutive mo...
asked by 27.06.2018 / 01:50
1
answer

Capture the ID of my table by means of jcombobox

Food in several ways my jcombobox but to capture the data does not work with this code full cbo: public void fillprovider (JComboBox cboxprov) { String[] registros = new String[2]; DefaultComboBoxModel llenar = new DefaultComboBoxModel();...
asked by 26.06.2018 / 23:23
0
answers

Passing data to a jDialog from a BD

Hello good night I want to pass data from my BD to a JDialog as you can see the code and the question that are in the table but I do not know how to pass the values of the combos and options to jDialog in advance thank you very much. private v...
asked by 27.06.2018 / 05:01