Questions tagged as 'java'

0
answers

How to share image from an imageSwitcher?

The App what it does is show images by pressing forward or backward buttons. I need help with this, I would like to be able to share the image that is seen in that moment in the ImageSwitcher. public class MainActivity extends AppCompatActi...
asked by 29.09.2018 / 03:20
1
answer

Enter a character in a String in the position i

Hi, I have a project but I'm stuck in a couple of lines. I'm interested, as the title says, to enter a character in a position of some new chain. The program what it does is that it is printing characters but I want them to be saved in a chai...
asked by 26.09.2018 / 01:57
0
answers

Run sequentially Fragments-Android operations?

I have a question, I hope you can help me, I have a graphical interface that works with a library that loads several fragments simultaneously more or less of this type, that is, it does not wait for the click event to load the "tabs" th...
asked by 26.09.2018 / 00:09
0
answers

Does anyone know the steps to install goddady certificates in tomcat 9?

Does anyone know the steps to install goddady certificates on tomcat 9? I already have csr and with the keytool I made these steps. keytool -import -alias root -keystore tomcat.keystore -trustcacerts -file   [name of the root certificate]...
asked by 25.09.2018 / 20:22
0
answers

Out of Memory Error with JRE just installed

After having installed a JRE on a machine with Debian, when I try to consult the installed version of java I get an error. If I open the log it appears more or less the following as relevant information Out of Memory Error (os_linux.cpp:2640)...
asked by 22.09.2018 / 16:10
1
answer

java.lang.NoSuchMethodError: javax.persistence.Table.indexes () [Ljavax / persistence / Index;

I've been working on a web project with jpa 2.1, it turns out that I have problems with persistence, I think there are components of the pom or the persistence that are not correct and are correct, I use the line in a jsp: <% ControlUsu...
asked by 24.09.2018 / 19:49
1
answer

Help with a menu method in java

I am new programming, I learned a few things in C # and then I want to make a menu method to show me the data I fill, but I do not know how to send the data of another method to the Menu () method Maybe I'll explain it, but here's the code p...
asked by 22.09.2018 / 23:39
1
answer

Fashion in an array

I try to see what is wrong with the code but I still have not been able to find an answer, please help public int moda(int[] a){ int moda=0; int Rep=0; for(int i=0;i<a.length-1;i++) { int cantRep=0; for(int j=0;j<a.length-1...
asked by 23.09.2018 / 01:14
0
answers

Fatal error in the IDE Android studio

Porfa I need your help. In my android studio I get a FATAL ERROR.     
asked by 21.09.2018 / 03:08
1
answer

Help with jcombobox in Netbeans?

It happens that I need a combobox to filter the data by branches. If the click on an item shows me in a table the data of such branch. I'm using a text file as a database (so I was asked) I could only make it save and delete ... It would be very...
asked by 21.09.2018 / 11:50