コード例 #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
 /** Border delegation. */
 public void setBorder(Border border) {
   if (guiInitialized) {
     moneyField.setBorder(border);
   }
 }