Questions tagged as 'java'

1
answer

Send several parameters for args [JAVA]

I am learning java and I would like to solve this problem I have a program that executes 2 subprocesses (Son1 and Son2) which I send data through a file (file1) and with a redirect I return the result to another file (file2) when executing th...
asked by 25.10.2018 / 22:54
1
answer

You doubt when creating a java component in netbeans

I have been programming for a short time and I am learning. My doubt is that I want to create a component (Bean) in netbeans that when I insert it in a Frame the button that I insert, I change the color of the button every time I press it. I'...
asked by 25.10.2018 / 17:38
0
answers

java.lang.NumberFormatException: Invalid int: "null"

Good day, Can someone help me solve this error? Using Firebase Database on Android with the structure so and this code Bundle bundle = getIntent().getExtras(); if(bundle !=null) { usuari = bundle.getString("x");...
asked by 25.10.2018 / 19:33
0
answers

how to get the fields of all the rows of a SQL query in Java?

Good afternoon someone could help me with the following please ... I want to obtain the ID of the rows obtained by the following SQL query and save them in a variable but I do not know how to do it. SELECT * FROM productos; But if I know ho...
asked by 23.10.2018 / 16:57
0
answers

how to include in a table (orders) several records of another table (products)

Hello is my first question on this site, first of all I am new in the world of programming and others, my problem is that I have a table orders and another table products, the problem is that I do not know how they have to be related tables amon...
asked by 23.10.2018 / 16:59
0
answers

Ajax does not show my Modal Dialog with SparkJava

When on my device.js file I enter an invalid route the browser detects it and warns me, it means that the create device method if it is running, now in the cases that it executes with a correct route, it does NOT ABSOLUTELY NOTHING , it does not...
asked by 24.10.2018 / 17:04
0
answers

How to calculate the sum of minutes in android studio

forgive the inexperience since I am new, I would like to know how I calculate the minutes better said add them to give me an hour of departure. What happens is that I want to perform an exercise of the income of patients in consultations, theref...
asked by 24.10.2018 / 16:47
0
answers

Is it possible that a jtextfield, only acts with a barcode scanner (peripheral input)?

Someone will have an idea of how to do, so that a jtextfield only acts when someone uses a barcode scanner, in java netbeans     
asked by 22.10.2018 / 21:24
1
answer

How to call a function with an argument to another function in java

I have the following function: String[] TXbuffer = new String[]{"H","o","l","a"}; public void writeAsync(String bufferx) { if ( mSerialPort != null) { try { mSerialPort.write(bufferx.getBytes(), SERIAL_TIMEOUT);...
asked by 24.10.2018 / 17:31
0
answers

I must click on the element // * [@ id = \ "menu-content \"] / a [1] / li / h3, stored in the third java frame, it has not been possible

<html> <head> <title>NetIQ iManager</title> <link rel="icon" type="image/png" sizes="16x16" href="/nps/portal/modules/dev/images/favicon.png"> <script src="moz-extension://5847c9bb-864b-490f-93d1...
asked by 22.10.2018 / 21:52