according to your code above you have Applet2.init but you i dont see where you have created an instance of this Applet2 object and this is where i am going wrong. also you have some packeage information at the top. is this part of the code?? thanks. tom
this is exactly what i was doing and gettig a null pointer error. however i have since come up with a hack work around and will be returning to the problem shortley. more later. thanks for your help. tom
i know that to set the menubar in a java program you have to call setMenuBar, a method of Frame. I cannot seem to use frames in my applet (adding a window to a container). is there a work around? thanks.
i am using an applet that containn a panel that displays a template image and a slider for generating patterns on the image. there are supposed to be 5 transitions. however when i tr and view it i get a run time error telling me that i am out of memory. the image sizes are all approx 300k each. i have used this program using different more memory intensive images and it works. i am totally confused. any help on this would be greatly appreciated. tom
i am getting a null pointer exception when i try making new objects of applets that happily run on there own. however when i make a new instance of the object in another class file and call its init() method it breaks. any ideas???