<Swing Dev> 6179357: Request interface javax.swing.tree.TreeModel to have a generic type for nodes

Florian Brunner fbrunnerlist at gmx.ch
Sun Aug 26 18:33:15 UTC 2007


Hi,

I'm interessted in the RFE "6179357: Request interface 
javax.swing.tree.TreeModel to have a generic type for nodes". Is there 
already someone working on this issue? If not I would like to help there.

I want to address following issues:
- add generics support to the Swing framework
- provide support for new language features like varargs
- provide better support for the collection framework
- optimize code where reasonable

Do you think this is a good idea? How probable will such a change make its way 
to the "official" jdk? 

I sent the signed SCA to Sun. So what would be the next steps? I want my 
progress to be visible by the public. So what is the best strategy? Work at 
openjdk.org? Work at SwingLabs? Start a new project at java.net?

Should I work on a branch of openjdk? Or should I copy the current revision to 
a new repository? What is the easiest/ best way to get the source back to 
openjdk?

Is a JSR needed for such a change? Note: the suggested changes should be 
backwards compatible (eg. thanks to the "raw type feature" of generics), as 
far as I can see up to now. (The only exception is of course reflection, 
which can always break if you change an API). 

Thanks for your help.

-Florian



More information about the swing-dev mailing list