Re: JTable cell selection event

From: Svetozar Radojcin (cwele_at_EuNet.yu)
Date: 10/27/03


Date: Mon, 27 Oct 2003 22:53:36 +0100

I am not sure, but try to play with
        JTable.editingStopped() - or -
        JTable.getCellEditor().addCellEditorListener(....)

-regards...

Don wrote:

> Greetings,
>
> I have an application that uses a JTable. When the user changes the
> value in one of the cells and moves to another cell (with either the
> mouse or keyboard), I want to do something with the new value of the
> changed cell, any idea how I can capture this event?
>
> Thanks in advance,
> Don



Relevant Pages

  • Re: change cell colour when cell data changes
    ... what should happen if user changes the ... Should color be yellow in order to satisfy the 1st condition ("anything from ... blank or zero to 1.0 cell colour is yellow") ... work out how to do is to change the cell from the original colour to a new ...
    (microsoft.public.excel.misc)
  • Re: Trapping Datagrid Error Message
    ... Paul J. Lay ... so we should do validation at the UI level. ... the above cell by cell validation also has problem when we did not ... If the user changes the current row, ...
    (microsoft.public.dotnet.framework.windowsforms.databinding)
  • Re: Specific cell
    ... Private Sub Worksheet_Change ... To do this, right-click on the sheet tab, select ... > changes the value of a specific cell. ... but I only want to show the message when the user changes the value. ...
    (microsoft.public.excel.programming)
  • specific cell
    ... I am currently building an Excel sheet by using VBA. ... appear when a user changes a value of a specific cell. ...
    (microsoft.public.excel.programming)
  • RE: How to capture the current cell address for a datagrid
    ... should get an update everytime the user changes the control in the datagrid to a different cell which becomes current cell. ... To capture the change, the event you are looking for is the SelectedIndexChanged. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)