hey its me again-pretty gurl ghettoslim..i have another problem that doesn't really involve the issue of functionality but is rather a problem of my
applet not showing. i know about the<html> <applet code=.........></applet> etc. to create an html so that the applet can be loaded. the only problem is that my
java software-shelly cashman, doesn't have a JCreator or other feature that enables one to convert such a file to html. it has a more convenient feature but one that i cannot quite understand. whenever you go the the newoption there is the applet icon to pick from and this automatically creates something like(for example):
applet.WelcomeApplet.html
WelcomeApplet.java however the only one that can be edited is WelcomeApplet.java
In this class i have the constructors and methods but i cannot compile this to produce an onscreen interface. therefore i go for the tester/sub-class WelcomeWindow but for me to do that i have to go through the same process like with the WelcomeApplet in creating a class. therefore in essence i have:
applet.WelcomeApplet.html
applet.WelcomeWindow.html
WelcomeApplet.java
W elcomeWindow.java and still the same problem!!!
HERE IS THE CODE
TESTER CLASS
i accented out the bulk of these lines bcuz i don't understand them...these automatically opened with both applet classes upon just starting...could these be the key? the codes that i have before and after these lines is what i compile
/*public class WelcomeWindow extends {
boolean isStandalone = false;
//Construct the applet
public WelcomeWindow() {
}
//Initialize the applet
public void init() {
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
//Component initialization
private void jbInit() throws Exception {
this.setSize(new Dimension(400,300));
}
//Get Applet information
public String getAppletInfo() {
return "Applet Information";
}
//Get parameter info
public String[][] getParameterInfo() {
return null;
}
// static initializer for setting look & feel
static {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
//UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
}
catch (Exception e) {}
}
} */
[ April 12, 2007: Message edited by: natasha henry ]
[ April 13, 2007: Message edited by: natasha henry ]