Hello: Created a JTable and place in JScrollPane: If the JTable has only one row, The JScrollpane shows the gray color for the remaining area in the scrollpane. How to set the color of the scrollpane to the same color. JTable has auto_resize_off thanks selvan
You need to set the background color of the JViewport that you placed your table inside of to white (or whatever the background color of your table is), such as:
Jeff [ March 28, 2002: Message edited by: Jeff Smith ]
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it: