I have seen that type of problem before. Java ferns are very resistant to disease. If an established plant is beginning to turn brown, something is probably wrong in its surroundings. Your plant should fully recover if you make adjustments to elements including sunlight, nutritional levels, planting technique, and any overgrowth of blue-green algae.