Java Reference
In-Depth Information
Input = new java.net.URL(getCodeBase().toString() + “images/Input.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Input = new TextureLoader(Input, this).getTexture();
try {
Output = new java.net.URL(getCodeBase().toString() + “images/Output01.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Output = new TextureLoader(Output, this).getTexture();
try {
Gnd = new java.net.URL(getCodeBase().toString() + “images/Gnd.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Gnd = new TextureLoader(Gnd, this).getTexture();
// --------------------------------------------------------------Sg
try {
Case = new java.net.URL(getCodeBase().toString() + “images/Case.jpg”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Case = new TextureLoader(Case, this).getTexture();
try {
Backside = new java.net.URL(getCodeBase().toString() + “images/Backside.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Backside = new TextureLoader(Backside, this).getTexture();
try {
Rightside = new java.net.URL(getCodeBase().toString() + “images/Rightside.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Rightside = new TextureLoader(Rightside, this).getTexture();
try {
Leftside = new java.net.URL(getCodeBase().toString() + “images/Leftside.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Leftside = new TextureLoader(Leftside, this).getTexture();
try {
Calconnector = new java.net.URL(getCodeBase().toString() + “images/connector.gif”);
} catch (java.net.MalformedURLException ex) {
Search WWH ::




Custom Search