title: Java Swing button colors
body: <p>I am using NET Beans IDE for developing my application in LINUX. I have used synthetica package to generate new look and feel. All is well till now.</p>
  
  <p>Now my next stage is to add colors to buttons when some database status changes.</p>
  
  <p>For example:</p>
  
  <p>In a restaurant i have 2 tables and when 8 people came in to dine and i will create 2 table in my software  since the people are unattended i want the buttons to those 2 tables to be green. When the order is processed for any of those tables the button color of the processed table should be changed to orange. When it is under processing it should be flashing color. How to do this in java ? I will take care of database update i just want to know how to change the colors of the buttons and adding flashing technique.</p>