in my screen , i want to create/add button with an icon and under this icon i want to write the title of this button
Asked
Active
Viewed 545 times
1 Answers
0
Create a custom Field
.
For instance, here is an idea of what to do. Your bitmap could alreay contain a label, or to have a String
label freely "assignable" to this button you can extend that example (by adding the code to draw the label in paint(Graphics graphics)
, check the API of Graphics
- it is possible to write a text on it).

Community
- 1
- 1

Vit Khudenko
- 28,288
- 10
- 63
- 91