Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Arland Smith   on Oct 14 In Java Category.

  
Question Answered By: Julia Flores   on Oct 14

create an instance of your own class  and try to set these properties to JButton

mybutton obj = new mybutton("button-name");
obj.setBackground(Color.colorname);
setForeground(Color.colorname);

etc...

this might solve your problem..

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on what wrong wit it Or get search suggestion and latest updates.


Tagged: