I used this statement to set text of JButtons
:
buttons[i][j].setText(""+(char)hex);
where buttons[][]
is a JButton Array,
hex
is int and ranges from 0x0980
to 128 more
++hex;
is used to increment.
Here is a screenshot.
I used this statement to set text of JButtons
:
buttons[i][j].setText(""+(char)hex);
where buttons[][]
is a JButton Array,
hex
is int and ranges from 0x0980
to 128 more
++hex;
is used to increment.
Here is a screenshot.
It sounds like you're running into the issue of properly converting your hex values to strings. Take a look at Convert Hexadecimal to String and see if using a solution from there will help.