coloring buttens
- by asm_debuger
i want to color the text inside the button
how can i do that?
i made that code:
for(int i=0; i<10 ;i++)
{
arr[i]=new Button(""+i);
arr[i].
arr[i].setBackground(Color.LIGHT_GRAY);
p1.add(arr[i]);
this.arr[i].addActionListener(this);
}
the buttens text color are colored in clack
if i want to color the text in the button from black to blue what i need to write?