Originally posted by eric moon:
Well, Sandhya, instead of complaining, how about answering your own question when you figure it out, so others don't spend their time and energy answering it.
That's what I do. After all, we don't pay to use JavaRanch!
Originally posted by Asaf Karass:
yes, I'm adding it to a JFrame.
where to put the the code where I set it to invisible?
Originally posted by David Freels:
Try adding the JTable to an JPanel and then add the JPanel to your JScrollPane.