Java Reference
In-Depth Information
ceiling = new java.net.URL(getCodeBase().toString() + “images/Ceiling.jpg”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.ceiling = new TextureLoader(ceiling, this).getTexture();
try {
Door = new java.net.URL(getCodeBase().toString() + “images/Door.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Door = new TextureLoader(Door, this).getTexture();
try {
Desk = new java.net.URL(getCodeBase().toString() + “images/Desk.jpg”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Desk = new TextureLoader(Desk, this).getTexture();
try {
Desk1 = new java.net.URL(getCodeBase().toString() + “images/Desk1.jpg”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Desk1 = new TextureLoader(Desk1, this).getTexture();
try {
Outside01 = new java.net.URL(getCodeBase().toString() + “images/Outside.jpg”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Outside01 = new TextureLoader(Outside01, this).getTexture();
try {
Outside02 = new java.net.URL(getCodeBase().toString() + “images/Outside02.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Outside02 = new TextureLoader(Outside02, this).getTexture();
try {
Airbus01 = new java.net.URL(getCodeBase().toString() + “images/Airbus01.gif”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
System.exit(1);
}
scene3d.Airbus01 = new TextureLoader(Airbus01, this).getTexture();
try {
Picture01 = new java.net.URL(getCodeBase().toString() + “images/Picture01.jpg”);
} catch (java.net.MalformedURLException ex) {
System.out.println(ex.getMessage());
Search WWH ::




Custom Search