Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: JTable gridlines not showing in a nimbus L&F

  1. #1
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default JTable gridlines not showing in a nimbus L&F

    my JTable has a rendered background with an image into it.. in a default L&F i dont see any problems, but changing it into a nimbus L&F, makes every thing worst, how can i enable the grid lines in a Jtable using a nimbus look and feel?

    by the way, event if i remove the image background the grid lines still dont show...


    i tried to implement this codes
    UIManager.put("Table.gridColor", Color.RED);
    UIManager.put("Table.disabled", false);
    but nothing happens


    please I need help.. well another follow up question if this case doesnt have any solutions..

    the whole problem is i want to change a single component's look and feelm but not affecting other components is this possible? the whole frame has default L&F, while my scrollPane will be nimbus... is this possible?
    Last edited by chronoz13; February 22nd, 2010 at 07:49 AM.


Similar Threads

  1. Showing a picture in a GUI
    By joachim89 in forum AWT / Java Swing
    Replies: 1
    Last Post: February 15th, 2010, 02:42 PM
  2. JTable in JScrollPane
    By alwayslearner in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: January 29th, 2010, 11:42 AM
  3. Printing a JTable
    By hundu in forum AWT / Java Swing
    Replies: 0
    Last Post: June 29th, 2009, 08:15 AM
  4. How to printing a Jtable
    By hundu in forum AWT / Java Swing
    Replies: 0
    Last Post: June 29th, 2009, 06:57 AM
  5. Printing JTable that retrieve data from the Database
    By hundu in forum AWT / Java Swing
    Replies: 3
    Last Post: June 28th, 2009, 01:50 PM