When I try to navigate in NetBeans to some JDK source code it only shows that it's compiled code and the source code is missing and I can attach it. After attaching the source with the "Attach.." button nothing happens? Where should I attach the source code?
Tools->JavaPlatforms->JSE{choose your jdk}->source tab->Add jar/folder {chose src.zip from installed JDK path.}
来源:https://stackoverflow.com/questions/11071265/how-to-attach-missing-java-jdk-sources-in-netbeans-7