Here you can find the source of getSelectionBackground(JTable t)
public static Color getSelectionBackground(JTable t)
//package com.java2s; /*************************************** * ViPER * * The Video Processing * * Evaluation Resource * * * * Distributed under the GPL license * * Terms available at gnu.org. * * * * Copyright University of Maryland, * * College Park. * ***************************************/ import java.awt.*; import javax.swing.*; public class Main { public static Color getSelectionBackground(JTable t) { return t.getSelectionBackground(); }/*from w w w.j a v a 2s.c o m*/ }