Questions tagged as 'java'

1
answer

verifying if the date of an EditText is greater than the date of another EditText

I have two EditText in my application and I select the date using a DatePicker to make the user not enter a date smaller than the one entered in the first EditText.     
asked by 23.11.2017 / 00:47
1
answer

Custom Mask

I have an EditText that has a mask #######. # I need this EditText to be populated in the same way as a unit value field, for example: Ao digitar 1, o EditText deve ficar: "0000000.1" Ao digitar 2, o EditText deve ficar: "0000001.2" Ao digita...
asked by 23.10.2017 / 23:36
1
answer

Force the user to enter enter

In a snippet of my code, I need the user to enter enter to continue the program, but the part where it should receive this entry is ignored. public void buscar_Aluno(){ //metodo que busca um determinado aluno pelo nome String lerTeclado;...
asked by 04.12.2017 / 15:47
1
answer

Error in calculation

Hello, I'm having a project of a consortium calculator that is showing error. It receives the following data from the user: Consortium value Number of months % of reserve fund % of administrative fee After this it calculates the value...
asked by 27.10.2017 / 21:19
1
answer

modify notification icon

Does anyone explain to me why the icon of my notification is small and the notification when it "comes in" does not vibrate or make any sound? Thank you. importandroid.app.Notification;importandroid.app.NotificationManager;importandroid.app....
asked by 27.10.2017 / 12:11
2
answers

Convert String to Array - Java / Groovy

I need to convert a string variable to a array , I tried to do the following, I have the variable string contentLote , where its value is: [["4","SCAB171301BF5","Vazio","Lexmark International","50F0Z00",null,null,"2017-10-2...
asked by 27.10.2017 / 13:02
2
answers

How to generate .jar executable program in VS Code? [duplicate]

Oops, I ran an application in java, now I need to get the .jar executable. How do I get .jar in VS Code?     
asked by 01.12.2017 / 14:08
1
answer

How to run scripts in Lua with java program? [closed]

I want to learn how to develop, combining more than one programming language, using java with moon scripts.     
asked by 01.12.2017 / 14:18
1
answer

Uninitialized arrays

After the declaration int[ ] a; What is stored in the a variable? null or an undefined value, where a can not be used until something is assigned to it?     
asked by 01.12.2017 / 04:04
1
answer

Parameter passing via AJAX

I am developing the customer registration part of my application and are registering in the database normally, but I would like that when I register and be redirected to page ConfirmacaoCadastro.jsp it would take the email that I passed b...
asked by 25.10.2017 / 00:42