dcsimg
java beans not working in bdk beanbox
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   arivarasu_baladhandapani
Posted On:   Monday, June 11, 2001 03:56 AM

import java.awt.*;
import java.io.Serializable;

public class SimpleBean extends Canvas
implements Serializable
{
//Constructor sets inherited properties
public SimpleBean(){
setSize(60,40);
setBackground(Color.red);
}
}

this tis the bean i used in my example
i create a jar file with this above class file and a manifest file and create a simpleBean.jar file.but when i save it in bdk/jars and start the beanbox it is not loaded.It shows the error message as simpleBean.jar
didn't have a bean.
so what could be the reason

Re: java beans not working in bdk beanbox

Posted By:   John_Zukowski  
Posted On:   Monday, June 11, 2001 04:11 PM

Sounds like your manifest doesn't have the right information in it. What is necessary is already covered in the FAQ.
About | Sitemap | Contact