Tag : Creating beans in Java Technology

Creating beans in Java Technology
Creating beans in Java Technology

1. create directory for new beans 2. create java source file 3. compile 4. create manifest file 5. generate a jar file 6. start BDK 7. RUN EXAMPLE : import java.awt.*; import java.awt.event.*; pubic class mycolorbean extends Canvas { private String label=””; Color mycolor= Color.red; // properties public void setMycolor(Color c) { mycolor=c; } public Color getMycolor() { return mycolor;…