where inner classes go in source file
posted 14 years ago
The Sun Code Conventions and my book are unclear as to where inner class definitions go in the outer class's source file. I looked at the source for javax.swing.Timer, and it has one thrown in the middle of the methods - just below the method that uses it. I'm thinking I'll put my at the end of my source file after all the methods. Anyone have a definitive answer or at least a good argument one way or another? Personally, I find them to be distracting/confusing at the top of the file.