my question is, how to solve following problem:
If i click on a cell in a JTable, i want to change its background. If i release the mousebutton, i want the backgroun
Yes it is possible. Use a custom ListSelectionModel and set your JTable to use that : setSelectionModel().
Here's an example.