This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This is sort of GUI-related, but I think it's really a basic Java question so I'm posting here. I've got the following code that is trying to create a simple numeric entry box:
When I go to compile this, I get the following error from the Java compiler:
com\FEIZyfer\Comm2Mon\Main.java:793: cannot find symbol symbol : method addPropertyChangeListener(java.lang.String,com.FEIZyfer.comm2mon.controlPanelPane) location: class javax.swing.JFormattedTextField antdField.addPropertyChangeListener("value", this);
It seems that the compiler doesn't know what addPropertyChangeListener is. But this is right out of the example on (Sun's site. I checked all my import statements and they look OK. Thoughts?