home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 9
/
boot-disc-1997-05.iso
/
Media
/
backup
/
sun
/
GroovyBoxRoot.java
< prev
next >
Wrap
Text File
|
1997-03-10
|
3KB
|
99 lines
/**
* This file was automatically generated. Do not manually modify this file.
*
* Runtime vendor: SunSoft, Inc.
* Runtime version: 1
*
* Visual vendor: SunSoft, Inc.
* Visual version: 1
*/
import sunsoft.jws.visual.rt.awt.GBConstraints;
import sunsoft.jws.visual.rt.base.*;
import sunsoft.jws.visual.rt.shadow.*;
import sunsoft.jws.visual.rt.shadow.java.awt.*;
import sunsoft.jws.visual.rt.type.*;
public class GroovyBoxRoot extends Root {
public ImageLabelShadow alien;
public ImageLabelShadow baby;
public ImageLabelShadow bootnet;
public ImageLabelShadow disc;
public GBPanelShadow gbpanel1;
public ImageLabelShadow mrbrad;
public Root root1;
public ImageLabelShadow thatgirl;
public GroovyBoxRoot(Group group) {
setGroup(group);
gbpanel1 = new GBPanelShadow();
gbpanel1.set("name", "gbpanel1");
add(gbpanel1);
{
int _tmp[] = {14,14,14};
gbpanel1.set("rowHeights", _tmp);
}
gbpanel1.set("GBConstraints", new GBConstraints("x=0;y=0;fill=both"));
{
int _tmp[] = {14,14,14,14};
gbpanel1.set("columnWidths", _tmp);
}
{
double _tmp[] = {0,0,0};
gbpanel1.set("rowWeights", _tmp);
}
{
double _tmp[] = {0,0,0,0};
gbpanel1.set("columnWeights", _tmp);
}
alien = new ImageLabelShadow();
alien.set("name", "alien");
gbpanel1.add(alien);
alien.set("GBConstraints", new GBConstraints("x=1;y=1"));
alien.set("image", new ImageRef("file:///c:/java-workshop/jws/.jws/groovybox/alien.gif;152x221"));
thatgirl = new ImageLabelShadow();
thatgirl.set("name", "thatgirl");
gbpanel1.add(thatgirl);
thatgirl.set("GBConstraints", new GBConstraints("x=2;y=0"));
thatgirl.set("image", new ImageRef("file:///c:/java-workshop/jws/.jws/groovybox/thatgirl.gif;77x209"));
bootnet = new ImageLabelShadow();
bootnet.set("name", "bootnet");
gbpanel1.add(bootnet);
bootnet.set("GBConstraints", new GBConstraints("x=0;y=0"));
bootnet.set("image", new ImageRef("file:///c:/java-workshop/jws/.jws/groovybox/bootnet.gif;190x55"));
disc = new ImageLabelShadow();
disc.set("name", "disc");
gbpanel1.add(disc);
disc.set("GBConstraints", new GBConstraints("x=2;y=1"));
disc.set("image", new ImageRef("file:///c:/java-workshop/jws/.jws/groovybox/disclogo.gif;237x58"));
mrbrad = new ImageLabelShadow();
mrbrad.set("name", "mrbrad");
gbpanel1.add(mrbrad);
mrbrad.set("GBConstraints", new GBConstraints("x=0;y=1"));
mrbrad.set("image", new ImageRef("file:///c:/java-workshop/jws/.jws/groovybox/bdosland.gif;89x205"));
baby = new ImageLabelShadow();
baby.set("name", "baby");
gbpanel1.add(baby);
baby.set("GBConstraints", new GBConstraints("x=1;y=0"));
baby.set("image", new ImageRef("file:///c:/java-workshop/jws/.jws/groovybox/baby.gif;240x205"));
}
// methods from lib/visual/gen/methods.java
/**
* Converts a string to the specified type.
*/
private Object convert(String type, String value) {
return(Converter.getConverter(type).convertFromString(value));
}
}