First things first

What does
MyJTable look like?

Here it is! ---------->
Just Take the 10 second test below:

MyJTable is for you if:

  • You find the JTable a complete pain in the neck.
  • You have a sneaky admiration for the Microsoft Excel L&F.
  • You're not doing anything too complicated with the table.
Is MyJTable for
  • Excel Look & Feel
  • Row and column symmetry
  • Copy and paste functionality
  • Cell specific selection
  • Simple API (compared to the JTable)
  • Table data in terms of Strings only.
  • Fixed number of rows and columns
  • Easy framework for adding cell editors and renderers on a per cell basis
  • Strategy for dealing with user input errors
  • A number of useful cell editors and renderers included for use and examples.
The 80% solution
The 80% solution is now a well understood concept in software development.  Basically, it
states, that it is better to write clear reliable software to provide a solution for 80% of any
problem domain rather than over-complicate and destabilise the software in an attempt to cover
100% of the domain.

MyJTable was written as an 80% solution.  In my experience, 8 times out of 10, a Java Swing
developer will find MyJTable an improvement over the JTable.  It there fore follows that there are
situations where MyJTable will not be the appropriate choice.
MyJTable is not for
you if...
  • You need to do very specific operations to the way the JTable looks or operates.
  • If you want to add or remove columns dynamically rather than just adding and removing
    data from the table.
  • If you need view model separation.
  • If you need the data in your table to be held as non String values.