Results 1 to 4 of 4
  1. #1
    md_suzon is offline Member
    Join Date
    Sep 2011
    Posts
    9
    Rep Power
    0

    Default Customize Jtable header

    Hi,
    I use Windows 7 OS. I use a Jtable in my project but I can't desiable Jtable header what is showing change the color when mouse over on “UIManager.setLookAndFeel(UIManager.getSystemLookA ndFeelClassName());” look and feel. When I change the look and feel then it will comes to desiable autometically. But I need windows 7 environment and “UIManager.setLookAndFeel(UIManager.getSystemLookA ndFeelClassName());” look and feel and hard code. for example I attach a image to clear understanding.

    Can someone help me to disable changing the color?
    Attached Thumbnails Attached Thumbnails Customize Jtable header-jtable.jpg  

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,234
    Rep Power
    19

    Default Re: Customize Jtable header

    You could try setting the header's renderer. My Default Table Header Cell Renderer may do the trick.

    db

  3. #3
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

    Default Re: Customize Jtable header

    Cross posted at Customize Jtable header

  4. #4
    md_suzon is offline Member
    Join Date
    Sep 2011
    Posts
    9
    Rep Power
    0

    Default Re: Customize Jtable header

    Thanks DarrylBurke & doWhile
    I'll try to implement !!

    Thanks again :)

Similar Threads

  1. Select the Header in JTable for Copy/Paste
    By goodlily in forum AWT / Swing
    Replies: 1
    Last Post: 08-31-2011, 07:02 AM
  2. Problem in giving row header name in a JTable
    By pratim in forum AWT / Swing
    Replies: 6
    Last Post: 03-23-2011, 10:43 AM
  3. How to customize JTabbedPane tab header
    By ysbn in forum AWT / Swing
    Replies: 3
    Last Post: 02-10-2011, 04:31 PM
  4. JTable with multiple Header
    By bircastri in forum AWT / Swing
    Replies: 1
    Last Post: 11-15-2010, 11:26 AM
  5. header of jtable
    By bbq in forum AWT / Swing
    Replies: 1
    Last Post: 07-05-2007, 04:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •