• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

confusing method signature

Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, ranchers.
I found a method of Class DefaultTableModel whose signature kind of confused me.

I think it sould be

anyone has some comments?
James Du
Posts: 17346
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it gives you an option to send whatever type of object array you want, kind of like sending it a DataInfo[], and it understanding how to use it. Hmmm, sounds like a cool idea, maybe I hsould look into using something like that in my assignment. Oh, well I already did.
And in setHeadingsArray they do the same thing, so If I sent a FieldInfo[] in there, I can get headings real easy.
OK, I had my fun.
Poop goes in a willow feeder. Wipe with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic