Re: JTable Background Color
- From: IchBin <weconsul@xxxxxxx>
- Date: Fri, 28 Apr 2006 20:23:26 -0400
hellbent4u@xxxxxxxxx wrote:
Hi all,Normally you have a JTable inside of a ScrollPane. Here is how you do it.
How does one access the grey-colored portion of a JTable that has not
been occupied by the rows? I want to fill color in that part. If
someone has an idea how t odo it, please tell me.
Thanx and Regards,
Ankur
jScrollPane.setViewportView(jTable);
jScrollPane.getViewport().setBackground(Color.white);
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.
- Follow-Ups:
- Re: JTable Background Color
- From: hellbent4u
- Re: JTable Background Color
- References:
- JTable Background Color
- From: hellbent4u
- JTable Background Color
- Prev by Date: Re: Hi, is there any component alike date picker in Visual Basic?
- Next by Date: Re: [Swing] How to implement tab order?
- Previous by thread: JTable Background Color
- Next by thread: Re: JTable Background Color
- Index(es):
Relevant Pages
|
|