One thing I like to know that wether I should be bothered or not about the method calls of the
getValueAt(int rowIndex, int columnIndex) in the table model and the getTableCellRendererComponent () method in the renderer.
I should assume that how the parameters in those method increments is solely determined by java's own UI logic during rendering.
I should not be much bothered about that wright?('');
The renderer asks the model to supply data to paint.If I keep this basic thing in mind will that be sufficient?
One more thing,so basically what things I need to keep in mind during the usages of this method?Just what they do or any specific thing during the method handling?
Thanks once again in advance for you support.
Thanks a lot in advance for your support
BUBI gupta
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
> One thing I like to know that wether I should be bothered or not about the method calls of the
> getValueAt(int rowIndex, int columnIndex) in the table model and the getTableCellRendererComponent () method in the renderer.
in what context?
if you hop onto a bus, do you ask to see if the driver has a bus drivers licence?
This should have everything you need to get going with JTables.
Good Luck.
Rob Camick
Ranch Hand
Joined: Jun 13, 2009
Posts: 1787
2
posted
0
I should assume that how the parameters in those method increments is solely determined by java's own UI logic
I told you thats the way it works in your last question on this topic 3 days ago.
If you invoke a method, then you need to provide the proper parameters as defined in the API.
If a Java class invokes a method, then you assume it has invoked the method with the proper parameters as defined in the API.
Why do you continue to ask these questions? What is your problem that you are trying to solve? Repeating the same question over is a waste of our time and a sure way not to get help in the future.