.. | .. |
---|
752 | 752 | protected static ImageIcon createImageIcon(String path, |
---|
753 | 753 | String description) |
---|
754 | 754 | { |
---|
755 | | - java.net.URL imgURL = GrafreeD.class.getResource(path); |
---|
| 755 | + java.net.URL imgURL = Grafreed.class.getResource(path); |
---|
756 | 756 | if (imgURL != null) |
---|
757 | 757 | { |
---|
758 | 758 | return new ImageIcon(imgURL, description); |
---|
.. | .. |
---|
1476 | 1476 | |
---|
1477 | 1477 | cGridBag editBar = new cGridBag().setVertical(false); |
---|
1478 | 1478 | |
---|
1479 | | - editBar.add(createMaterialButton = new cButton("Create", !GrafreeD.NIMBUSLAF)); // , aConstraints); |
---|
| 1479 | + editBar.add(createMaterialButton = new cButton("Create", !Grafreed.NIMBUSLAF)); // , aConstraints); |
---|
1480 | 1480 | createMaterialButton.setToolTipText("Create material"); |
---|
1481 | 1481 | |
---|
1482 | 1482 | /* |
---|
1483 | 1483 | ctrlPanel.add(resetSlidersButton = new cButton("Reset All"), aConstraints); |
---|
1484 | 1484 | */ |
---|
1485 | 1485 | |
---|
1486 | | - editBar.add(clearMaterialButton = new cButton("Clear", !GrafreeD.NIMBUSLAF)); // , aConstraints); |
---|
| 1486 | + editBar.add(clearMaterialButton = new cButton("Clear", !Grafreed.NIMBUSLAF)); // , aConstraints); |
---|
1487 | 1487 | clearMaterialButton.setToolTipText("Clear material"); |
---|
1488 | 1488 | |
---|
1489 | 1489 | if (Globals.ADVANCED) |
---|
1490 | 1490 | { |
---|
1491 | | - editBar.add(resetSlidersButton = new cButton("Reset", !GrafreeD.NIMBUSLAF)); // , aConstraints); |
---|
| 1491 | + editBar.add(resetSlidersButton = new cButton("Reset", !Grafreed.NIMBUSLAF)); // , aConstraints); |
---|
1492 | 1492 | editBar.add(propagateToggle = new cCheckBox("Prop", propagate)); // , aConstraints); |
---|
1493 | 1493 | editBar.add(multiplyToggle = new cCheckBox("Mult", false)); // , aConstraints); |
---|
1494 | 1494 | } |
---|
.. | .. |
---|
2396 | 2396 | |
---|
2397 | 2397 | void ImportJME(com.jmex.model.converters.FormatConverter converter, String ext, String dialogName) |
---|
2398 | 2398 | { |
---|
2399 | | - if (GrafreeD.standAlone) |
---|
| 2399 | + if (Grafreed.standAlone) |
---|
2400 | 2400 | { |
---|
2401 | 2401 | /**/ |
---|
2402 | 2402 | FileDialog browser = new FileDialog(frame, dialogName, FileDialog.LOAD); |
---|
.. | .. |
---|
3255 | 3255 | |
---|
3256 | 3256 | Globals.ANIMATION ^= true; |
---|
3257 | 3257 | |
---|
3258 | | - GrafreeD.wav.cursor = 0; |
---|
3259 | | - GrafreeD.wav.loop = 0; |
---|
| 3258 | + Grafreed.wav.cursor = 0; |
---|
| 3259 | + Grafreed.wav.loop = 0; |
---|
3260 | 3260 | } |
---|
3261 | 3261 | } else |
---|
3262 | 3262 | { |
---|
.. | .. |
---|
4200 | 4200 | |
---|
4201 | 4201 | void load() // throws ClassNotFoundException |
---|
4202 | 4202 | { |
---|
4203 | | - if (GrafreeD.standAlone) |
---|
| 4203 | + if (Grafreed.standAlone) |
---|
4204 | 4204 | { |
---|
4205 | 4205 | FileDialog browser = new FileDialog(frame, "Load", FileDialog.LOAD); |
---|
4206 | 4206 | browser.show(); |
---|
.. | .. |
---|
4305 | 4305 | |
---|
4306 | 4306 | void saveAs() |
---|
4307 | 4307 | { |
---|
4308 | | - if (GrafreeD.standAlone) |
---|
| 4308 | + if (Grafreed.standAlone) |
---|
4309 | 4309 | { |
---|
4310 | 4310 | FileDialog browser = new FileDialog(frame, "Save As", FileDialog.SAVE); |
---|
4311 | 4311 | browser.setVisible(true); |
---|
.. | .. |
---|
4416 | 4416 | Object3D objectparent = obj.parent; |
---|
4417 | 4417 | obj.parent = null; |
---|
4418 | 4418 | |
---|
4419 | | - Object3D object = (Object3D) GrafreeD.clone(obj); |
---|
| 4419 | + Object3D object = (Object3D) Grafreed.clone(obj); |
---|
4420 | 4420 | |
---|
4421 | 4421 | obj.parent = objectparent; |
---|
4422 | 4422 | |
---|
.. | .. |
---|
4450 | 4450 | buffer.append("background { color rgb <0.8,0.8,0.8> }\n\n"); |
---|
4451 | 4451 | cameraView.renderCamera.generatePOV(buffer, bnds.width, bnds.height); |
---|
4452 | 4452 | copy.generatePOV(buffer); |
---|
4453 | | - if (GrafreeD.standAlone) |
---|
| 4453 | + if (Grafreed.standAlone) |
---|
4454 | 4454 | { |
---|
4455 | 4455 | FileDialog browser = new FileDialog(frame, "Export POV", 1); |
---|
4456 | 4456 | browser.show(); |
---|