Results 1 to 3 of 3
  1. #1
    gilmap is offline Member
    Join Date
    Jul 2011
    Posts
    8
    Rep Power
    0

    Default Maximum or Minimum cell value in a column (JTable)

    Hi all;

    I have created a JTable with 5 rows and 100 columns. But I need to find the maximum cell value in each column, and then put some marks i.e color.

    It will be good if the cell value found to be maximum is colored in some way.

    Much appreciation

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,963
    Rep Power
    8

    Default

    Which part of this are you having trouble with? Finding the min and max? Coloring them? Something else?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    gilmap is offline Member
    Join Date
    Jul 2011
    Posts
    8
    Rep Power
    0

    Default

    Quote Originally Posted by KevinWorkman View Post
    Which part of this are you having trouble with? Finding the min and max? Coloring them? Something else?
    I am having problems on both!
    I just want the maximum cell value to be identfied, either by coloring or some other way!..I was wandering if there is a way to loop on all columns and find that cell value!

Similar Threads

  1. Replies: 8
    Last Post: 03-25-2011, 11:38 PM
  2. Maximum Minimum Values
    By z6StringAssasin in forum New To Java
    Replies: 2
    Last Post: 05-09-2010, 12:36 AM
  3. Calculating Maximum and Minimum
    By Ejava in forum New To Java
    Replies: 6
    Last Post: 03-01-2010, 04:36 PM
  4. To find the Maximum and Minimum in an Array of Strings
    By luscious in forum JavaServer Pages (JSP) and JSTL
    Replies: 9
    Last Post: 07-31-2008, 01:51 PM
  5. Replies: 4
    Last Post: 05-19-2007, 11:15 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
  •