/**
  * Constructor.
  *
  * @param value the value to edit.
  * @throws TagFormatException if the tag value cannot be retrieved with the expected type.
  */
 public RationalTagValueComponent(TagValue value) throws TagFormatException {
   super(new FlowLayout(FlowLayout.LEFT, 0, 0));
   m_value = value;
   Rational rational = m_value.getAsRational();
   m_numer = new JTextField("" + rational.numerator, 5);
   m_divider = new JLabel("/");
   m_denom = new JTextField("" + rational.denominator, 5);
   add(m_numer);
   add(m_divider);
   add(m_denom);
 }