Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I have the following code from Deitel and deitel import java.net.*; import java.util.*; import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.applet.AppletContext;
public class SiteSelector extends JApplet { ... rest of the code
It compiles without error. When I try to load the HTML file, I get the following error. Apple SiteSelector error: java.lang.NoClassDefFoundError:javax/swing/JApplet When I checked the class heirarchy, api docs etc., everything looks alright. Do I have to set something in the browser?. Any help is appreciated. Thanks Raj
hi raj, to run swing applets in browser u need to have plugin. what u can do is download html converter from sun's site. and convert ur html file using that converter. once it is converted,after that whenever u try to see that html page it will download the plugin from sun's site directly and u'll be able to see ur JApplet working. regards deekasha