Questions About JTable Cell Editing?



I am try to edit my table three columns:

Observation Time, Value and Mode where they are
Timestamp, Double and String.

My first question is do I need to create three
different DefaultCellditors, one for Timestamp, one
for Double and one for String?

Because I am thinking use JFormattedTextField instead just JTextField,
which I can force user type in correct Timestamp format and Double
digits.

I went to this page

http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

But I couldn't find some sample codes.
I also checked out Sun's TableDemo.java in SwingSet2. I only
found JComboBox CellEditor codes.

Can someone out there point me some sample codes how to create
some table cell editor?
Thank Q very much in advance!
.



Relevant Pages

  • Re: Timestamp Value - please help
    ... The following topic in MSDN gives an example of converting hex to string. ... Private mintEmpID As Integer ... 'Pass the timestamp to conversion function. ... I retrieve the updated TS for future updates. ...
    (microsoft.public.dotnet.framework.adonet)
  • Questions About JTable Cell Editing?
    ... Timestamp, Double and String. ... My first question is do I need to create three ... But I couldn't find some sample codes. ...
    (comp.lang.java.programmer)
  • Questions About JTable Cell Editing?
    ... Timestamp, Double and String. ... My first question is do I need to create three ... But I couldn't find some sample codes. ...
    (comp.lang.java.help)
  • Re: [PhP - dB] About Formatting a Date Result
    ... In the MySQL database the field is set to date not timestamp as you ... foresight has stored a string date instead of a timestamp, ... and can format your date to that used, in the config files, for any user ...
    (php.general)
  • Re: Questions About JTable Cell Editing?
    ... Timestamp, Double and String. ... different DefaultCellditors, one for Timestamp, one ... But I couldn't find some sample codes. ...
    (comp.lang.java.help)