I'm trying to create a 3-slider color chooser in Bean Builder, and I have numerous questions, since I'm a complete n00b to beans and Bean Builder. I add 3 JSliders to the bean design area, and a JPanel, then I drag the arrows from the sliders to the panel, so far I think that is right. I need to change the background color of the panelusing one slider for each of the color components red, green, and blue, butthe best I can find in the event chooser for source is propertyChanged() and for target setBackground(). How do I tell the bean that the value variable is used for each slider as it's color variable? How do I tell the panel that I wan't it to repaint after every slider adjustment, and to get the components of the new Color from the values of the 3 sliders? Is there a default non-visual bean model I can use? I'm somewhat familiar with the Model-View-Controller design pattern, and I've worked through the tutorial, but I can't seem to figure outwhat I need to do here. Also, when I'm done I'd like to create a jar and an applet, I'm not really sure what to do with the XML file that is created, not to mention the size of the XML file is 0 bytes (this may be because of a problem using 5.0 instead of 1.4, from what I can glean from other forum posts). Can Bean Builder automate the creation of applets? Thanks in advance.
BTW if anyone can give me the answer using eclipse Visual Editor, NetBeans 1.5 or beanbox (bdk1.1) instead, this will work just as well.