Questions tagged as 'java'

2
answers

How to make the program executable?

The GUI is already built and it runs if I compile. how to create the executable to run on any machine?     
asked by 26.05.2015 / 21:26
0
answers

Jasper Data Filter: Between two dates

I'm having a hard time generating a report in Jasper through java. In Jasper my query all correct, most when I perform through the java presents error. Report query code: select fornecedores.matricula_em, fornecedores.nome_em,fornecedores.e...
asked by 05.01.2019 / 01:01
0
answers

Take the position x and y of the item on the screen

I'm doing a test automation and I have to do a test that the mouse just goes over a menu, for the menu to open, it can not click. However, I had to hit the position on the X and Y, but I would not like to do this, as other people will use it...
asked by 26.12.2018 / 15:12
1
answer

Insert n points of a vector randomly into any array in java [closed]

I am a beginner in Java, I wanted to know if there is any function that would make my life easier: Having a vector of n positions filled with (pre-defined) numbers, distribute those numbers in randomly array positions. For example: havin...
asked by 28.08.2018 / 04:09
0
answers

Error adding to JAVA [duplicate]

I would like to know how to add hours in Java. For example: 10:30 + 00:30 = 11:00. Does anyone know how? Code sample: package teste1; import java.io.UnsupportedEncodingException; import java.io.ObjectInputStream.GetField; import java....
asked by 21.12.2018 / 17:18
2
answers

Questions about how to consume ws NfS-e Curitiba [closed]

Nownextmyreturnisjustlikethis<EnviarLoteRpsRespostaxmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <NumeroLote xsi:nil="true" /> <DataRecebimento xsi:nil="true" /> <...
asked by 05.12.2016 / 19:50
1
answer

Netbeans cached a deleted class and does not recognize another class [closed]

I have different packages in my project, and by mistake, I ended up creating two classes with the same name, let's assume Student.java, but in different packages. I deleted one of them, and even after clearing the Netbeans cache, it no longer...
asked by 26.10.2016 / 20:06
0
answers

Crash when using slide library

I'm trying to use this slide library but I've had errors. package com.rightside.meutesoureiro_controlesuacarteira; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.heinrichreimersoftware.materialintro.a...
asked by 17.12.2018 / 13:50
0
answers

Error with Class FireBase! (JAVA, ANDROID STUDIO)

Good Afternoon Friends !! I downloaded a Source Code from a Taxi system, and I'm seeing some videos of the language in Java, but I'm encountering an error that I can not find, and when I give a biuld to generate a file in apk, it simply shows...
asked by 19.12.2018 / 18:42
1
answer

How could I generate an xml in java?

Similar to this here, in this format. This code will be generated through a one-button event. <items><variable name="id"type="int">6</variable> <itens><variable name="pos"type="int">0</variable> <itens>...
asked by 13.11.2018 / 13:41