-2

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.

Kitswas
  • 1,134
  • 1
  • 13
  • 30

1 Answers1

0

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.