aruna sameera wrote:why can't we put fixed set of Constant to Collection?
if we already know what are the Constant that we need what is the problem?
We can make generic type collection and put them?
David Newton wrote:Hibernate could be used as the persistence layer to store historical stock data.
Spring could be used together with Hibernate to both eliminate boiler plate code and manage transactions. Spring could also be used to implement AOP logging, handle the web layer via Spring MVC, handle application security, and countless other ways.
David Newton wrote:Hibernate could be used to track stock history. Spring can be used in *many* ways across a project, and is easy to integrate in a small piece at a time.
Sorry, I missed those JButton returns.
The getCellEditorValue method is the one that does the actual triggering. The problem with adding an ActionListener to the JButton is that the first click calls getCellEditorComponent, and does not fire an action performed event. I once solved that by using a mouse listener on the JTable, but my new class is more elegant - all button functionality in one single class.
As for your problem, you editor is returning a label. That doesn't feel right, does it?