Questions tagged as 'jlabel'

1
answer

Access JLabels without using switch ... case

I'm developing a game with JLabel 1 to 50, I can access them in line of code without having to use a switch. You can verify that what changes in the code and only lblBoard1 or lblBoard2 and so on, who will determine JL...
asked by 04.02.2018 / 07:39
0
answers

How do I list an ArrayList inside a JLabel [duplicate]

I would like to know how to print an ArrayList inside a JLabel, I am using JOptionPane but it shows one element at a time I would like to display all elements in a single window. Here is the function code that does this, such as Can I redo it?...
asked by 21.05.2017 / 18:31