Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2011
    Posts
    4
    Rep Power
    0

    Default VerticalTableHeaderCellRenderer, any experience, anyone???

    I've been able to find the Class for Vertical Header Labels in JTables, but have been unable to integrate it.
    I'm looking for a sample...
    Bruce Houghton

  2. #2
    d3n1s is offline Member
    Join Date
    Apr 2011
    Posts
    69
    Rep Power
    0

    Default

    this might help you : Vertical Table Header Cell Renderer Java Tips Weblog ? By the way it was the very first result of a google search...

  3. #3
    Join Date
    Jul 2011
    Posts
    4
    Rep Power
    0

    Default

    Finally able to get back on. Anyway, Java Tips and WebLog is where I got the Renderer. My problem is integrating it into my code. It's used to render vertical labels in the headers of a JTable. They also have a Vertical Label Class and that works just fine. I looking for an example of use for the JTable vertical labels in the header renderer...
    Bruce Houghton

  4. #4
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,236
    Rep Power
    7

    Default

    Whats wrong with the 4 lines of code given in the blog article?

    If you are having problems then post your Short, Self Contained, Correct Example because I can't guess what you might be doing wrong.

  5. #5
    Join Date
    Jul 2011
    Posts
    4
    Rep Power
    0

    Default

    Problem solved…The VerticalTableHeaderCellRenderer Class requires a JKD > than 1.5. I’ve got many JApplets in production built with JBuilder(twelve years worth) and of course JBuilder is no longer, and JB2006 does not support JDK1.6. So it’s bite the bullet time, and learning Eclipse. It looks good so far.
    Bruce Houghton

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    If you don't need sorting, you can reduce the code to remove the RowSorter stuff that was added in JDK 1.6 and the Icon enum associated with it.

    But I agree, it's high time to move up from 1.5. Java 7 is just around thecorner.

    db

  7. #7
    Join Date
    Jul 2011
    Posts
    4
    Rep Power
    0

    Default

    Wow, if I had of know it would be this easy to convert from jBuilder to Eclipse, I would have done it years ago. The most noticeable improvement from JBuilder is Eclipse’s ability (Warnings) to point out Classes, Imports, etc that are never called. It has reduced the deliverable (Jar File) in one case from 939,000 Bytes to 306,280 Bytes.
    Great stuff…
    Bruce Houghton

Similar Threads

  1. Java Experience + Scjp
    By maya700 in forum Java Certification
    Replies: 0
    Last Post: 06-30-2011, 05:46 PM
  2. Java and Linux Experience
    By fireplace_tea in forum New To Java
    Replies: 3
    Last Post: 04-08-2011, 08:34 PM
  3. experience as a freelancer
    By the light in forum Jobs Discussion
    Replies: 1
    Last Post: 01-18-2011, 12:04 PM
  4. resources with experience of 3+ years on C++ developer
    By arun9683 in forum Jobs Offered
    Replies: 0
    Last Post: 07-21-2010, 12:10 PM
  5. Java Developer with C++ experience
    By krkreddy in forum Jobs Offered
    Replies: 1
    Last Post: 01-11-2010, 10:53 PM

Posting Permissions

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