Results 1 to 3 of 3
  1. #1
    Zelord is offline Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Default How to change the height of a table header?

    I need to change the height of table header, since it is too small :)
    It eats the buttom half of a g...

    http://i56.tinypic.com/21bkuok.jpg

    The table is located inside JScrollPane.

    I've tried going through the methods JTable and JScrollPane exposes, but there doesn't seem to one that does it or returns anything intersting (except getTableHeader, but none of its methods looks promising either).

  2. #2
    fex
    fex is offline Member
    Join Date
    Dec 2010
    Posts
    20
    Rep Power
    0

    Default

    Have you tried 'setTableHeader(JTableHeader tableHeader)' ? Create a new tableHeader and append it to the table...

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

    Default

    I need to change the height of table header, since it is too small
    It eats the buttom half of a g...
    That's not expected behavior. Post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.

    db

Similar Threads

  1. Replies: 4
    Last Post: 02-05-2011, 06:47 PM
  2. DisplayTag Table header styling problem and paging
    By selvi in forum Web Frameworks
    Replies: 1
    Last Post: 08-06-2010, 11:00 AM
  3. DisplayTag Table header styling problem and paging
    By selvi in forum Web Frameworks
    Replies: 0
    Last Post: 08-05-2010, 08:14 AM
  4. Replies: 1
    Last Post: 07-06-2010, 04:50 PM
  5. Replies: 0
    Last Post: 02-21-2010, 11:51 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
  •