Posts by Mateus Silveira • 95 points
3 posts
-
7
votes4
answers865
viewsQ: How to separate a string when the string does not have a separator?
I have a string: String texto = "1234"; String split[] = texto.split(?); I need to separate the characters, 1-2-3-4, each number being 1 character only.
javaasked Mateus Silveira 95 -
0
votes1
answer323
viewsQ: Java Array List: How to show a Jlist the values and Positions of the String Array
I made this code in class: public class Dados { ArrayList<Contato> contatos = new ArrayList(); public void cadastraContato(Contato contato){ contatos.add(contato); } public String…
-
1
votes2
answers852
viewsQ: How to Throw the dice of a Jlist into another Jlist that is in another Jframe?
I tried it in various ways, but I couldn’t find a solution. When I click the save button. I want him to throw the dice on that Jlist to the other Jlist that’s in the Other Jframe. "I couldn’t…