Questions tagged as 'java'

0
answers

Port error tcp ip in java connection with sql server

Well, more than problem in the code I think it will be installation but, well, if you can help me, I would greatly appreciate it: It all starts when I have to install sql server 2014 express edition on a client's computer, all right, you can eve...
asked by 04.12.2018 / 20:17
0
answers

error jdbc mysql driver in dropwizard

This exception is being thrown at me and I do not know what the cause is Could not clean up [statement:"select * from shop_item limit 1;", located:"select * from shop_item limit 1;", rewritten:"/* ShopItemDAO.getItemById */ select * from s...
asked by 04.12.2018 / 19:48
1
answer

How can you separate a String in java without using a delimiter

From a String 2654993672 , what I want is to separate it into two parts. String part1 = "26"; String part2 = "54993672"; With the split () method I can separate them with a delimiter ... String[] parts = string.split("-"); String part1 =...
asked by 04.12.2018 / 19:09
2
answers

Coin converter in android studio

I'm doing a currency converter in android, with three currencies (euro, dollar and pound) but I can not get conversions right. I do not know what fault I have and I can not clarify it, I leave the MainActivity.java class to see if someone can de...
asked by 02.12.2018 / 13:52
0
answers

doubt with reading data in the jafra jframe

They could help me with a situation. I have formulated this code to make an alphabet starting from a letter that is written in the jframe. The code is: String inicio; char[] alfabeto = new char[26]; char reset1 = 'a'; public Strin...
asked by 02.12.2018 / 09:59
0
answers

go through query progress db showing it on my PB

private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) { Runnable miRunable = new Runnable() { @Override public void run() { barraProgreso.setValue(0);...
asked by 03.12.2018 / 15:08
0
answers

Fill two-dimensional array with objects

I have to replicate a two-dimensional array that I leave below ... thanks 1 'A' 1'B '1'C' 1'D '1'E' 1'F ' 2 'A' 2'B '2'C' 2'D '2'E' 2'F ' And so up to 10 ... The matrix has to be of type Object and these ranges [30] [6]. I leave the cla...
asked by 01.12.2018 / 16:17
0
answers

Working with MultipartFile in Spring 5 MVC returns null

Good morning Community. I have the typical problem of not being able to upload an image to a directory on the server, I have tried several alternatives but without success. Here I leave part of my code. Configuration Bean @Bean public Co...
asked by 01.12.2018 / 21:01
1
answer

ConcurrentModificationException when iterating over a list

I skipped a ConcurrentModificationException when iterating over a list: List<Attribute> attributes This list contains objects of type Attribute , which will be used to create views AttributeView : The method I use to create t...
asked by 01.12.2018 / 22:32
0
answers

Help with calculation exercise in hours in android studio

In this exercise, I have to start with one hour of entry (example: 20:30), after that, I have to add the minutes to get the time of departure. But I have two details which I do not know what they are, the first one indicates an error of "Wron...
asked by 02.12.2018 / 04:20