I have a Treemap and want to print the Values: and Keys to my window:
When i run the code, the values and keys from the Treemap are shown like this:
I tried with the Iterator (suggested here on forum)
The result looks better, but still have 2 Problems:
1. the text in my pop-up window looks the same, no changes.
QUESTION 1: HOW i get the changes inside my window ?
2. the changes from the iterator are show only on the console, and the squared bracket still there:
10 [Fragen: Ben 10 ]
9 [Fragen: Ben 9 ]
8 [Fragen: Ben 8.1 ]
7 [Fragen: Ben 7.1 ]
6 [Fragen: Ben 6.1 ]
5 [Fragen: Ben 5.1 ]
4 [Fragen: Ben 4.1 ]
3 [Fragen: --> Me Myself <-- ]
2 [Fragen: Ben 2.1 ]
1 [Fragen: Ben 1 ]
QUESTION 2: How i get the squared bracket away
i try to get something like this in my window:
10 Fragen: Ben 10
9 Fragen: Ben 9
8 Fragen: Ben 8.1
7 Fragen: Ben 7.1
6 Fragen: Ben 6.1
5 Fragen: Ben 5.1
4 Fragen: Ben 4.1
3 Fragen: --> Me Myself <--
2 Fragen: Ben 2.1
1 Fragen: Ben 1
Thanks