Questions tagged as 'java'

0
answers

How to make Jboss listen to the modifications in IDE different from the one that is?

The problem is this, I have jboss in eclipse, but I do not like it to work with HTML, CSS and JS I prefer to use Visual Code! When uploading the application I make the modification using Visual Code but Jboss only notices the modification after...
asked by 09.06.2017 / 13:47
0
answers

Split Method - Split into 3 parts

I have an instruction to separate two words from a string and put it in an array. This instruction is working very well. Follow below: public static List<String> converterCamelCase(String original) { String[] arraySplit = origin...
asked by 24.05.2017 / 06:23
1
answer

How to set the value of a spinner in an elegant way

Dear in an activity where we are making a change, I am setting the value of the spinner (rs) for(int i = 0; i < clienteAdapter.getCount(); i++) { Cliente elemento = (Cliente) clienteAdapter.getItem(i); if(eleme...
asked by 24.05.2017 / 02:39
0
answers

Add seconds to a countdown - Android

I would like that when a button was clicked, 10 seconds would be added to my timer, but I could not find a way to add value to CountDownTimer, here is my code. private void contagemRegressiva(){ new CountDownTimer(31000, 1000) { p...
asked by 24.05.2017 / 20:07
1
answer

Problem inserting into the database by java

I'm trying to make an app from a veterinary clinic and I followed all the right steps to create the database, connect with the eclipse, and so on. The program connects but does not enter anything that was entered into the program in the database...
asked by 23.05.2017 / 01:33
0
answers

Could not allocate dup blob fd

Ihaveapproximately1,500markersonamapthatarebeingshownthroughclusterssoasnottooverloadtheapplication.thesebookmarksarecurrentlydisplayedasBitmapDescriptorFactory.defaultMarker()However,whenImodifythecodeforeachdottoshowacustombitmapwithvaluesonm...
asked by 23.05.2017 / 04:50
1
answer

Spring MVC - Write Data in TXT

How can I make it into a controller to receive data via Post (in Spring MVC) and save this data to a TXT? Later, in the Model open this TXT and send to View. Would anyone have an example?     
asked by 18.05.2017 / 22:54
1
answer

Create button with java icon?

I'm having trouble creating a button with an icon in java, I've looked at several tutorials, but I can not get it to work. Note: I am using eclipse, Windows 10. The folder that is in the image is src where the Main class file is. import...
asked by 18.05.2017 / 21:17
1
answer

How to do Frontend Integration with Java? [closed]

I'm a beginner in frontend. I am making a system using html, bootstrap, javascript and jquery. I'm going to have to do the integration with java . I would like some guidance. I do not know where to start. I'll ask you some questions: Wha...
asked by 21.06.2017 / 21:01
1
answer

Accents' ^ ~ are not working in Javafx

Hello, I received software that uses Javafx, and was in the development phase needing to be finalized. I'm testing it and realized that Portuguese accents, like: '^ ~ and', are not recognized in the TextField. I have already looked for the of...
asked by 06.06.2017 / 02:05