Results 1 to 2 of 2

Thread: Set border

  1. #1
    Join Date
    Oct 2009
    Posts
    88
    Rep Power
    0

    Default Set border

    how to set border for diffrent cells in jtable plz.

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,435
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by anilkumar_vist View Post
    how to set border for diffrent cells in jtable plz.
    That is the job of the TableCellRenderer; read its API documentation. Tip: extend your class from the DefaultTableCellRenderer class.

    kind regards,

    Jos

Similar Threads

  1. how can create border
    By yuen in forum AWT / Swing
    Replies: 6
    Last Post: 11-08-2009, 11:42 AM
  2. Border with LestCellRenderer
    By Gajesh Tripathi in forum AWT / Swing
    Replies: 5
    Last Post: 06-02-2009, 06:59 AM
  3. Textfield border problem
    By jurka in forum AWT / Swing
    Replies: 2
    Last Post: 08-31-2008, 09:15 AM
  4. Displaying a Button with a Border
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-26-2008, 07:40 PM
  5. Border Layout
    By mark-mlt in forum Java Applets
    Replies: 5
    Last Post: 05-12-2008, 09:48 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
  •