예제 #1
0
 /** Marks, wether this date entry is used as a table cell. */
 public void setUsedAsTableCell(boolean isCell) {
   if (isCell) {
     removeAll();
     setBackground(moneyField.getBackground());
     moneyField.setBorder(null);
     add("East", moneyField);
     add(Box.createHorizontalStrut(GUI.HorizontalLabelDistance));
     add(currencyLabel);
   }
 }
예제 #2
0
 /** Gets BackgroundColor of this entry */
 public Color getBackground(Color color) {
   return moneyField.getBackground();
 }