Example #1
0
 @Override
 public void setBackground(Color background) {
   super.setBackground(background);
   Border border = getBorder();
   if (border != null && border instanceof StandardBorder) {
     ((StandardBorder) border).setBackground(background);
   }
 }
 @Override
 public void dispose() throws ComponentException {
   super.dispose();
 }