Search:

Type: Posts; User: angstrem

Search: Search took 0.12 seconds.

  1. Replies
    7
    Views
    3,548

    Re: Making JTable Non-Editable

    Well, you can use, for example, this and this methods to convert your table model to other model. Perhaps, you might want to create a separate method for conversion.
  2. Replies
    7
    Views
    3,548

    Re: Making JTable Non-Editable

    And what is your question? How to invoke setmodel on a new model?
  3. Replies
    7
    Views
    3,548

    Re: Making JTable Non-Editable

    class Foo implements TableModel {
    // Implement all the methods here
    }

    What's so difficult? Btw, I would recommend you to extend one of the default implementations of TableModel rather then...
  4. Replies
    7
    Views
    3,548

    Re: Making JTable Non-Editable

    You can explicitly override a class that implements TableModel. Or you can use anonymous classes.
Results 1 to 4 of 4