1. Application toolbar.

Listing 1. Application toolbar.


EBooleanGroup bg = new EBooleanGroup ();
// setting up Sticky Button m_email
m_email = new EToolStickyButton ();
m_email.setBooleanGroup (bg);
m_email.setState (true);
m_email.setImagePosition (EToolStickyButton.TOP);
m_email.setImageBundle (ImageUtils.getImageBundledResource (getClass(), "email.gif"));
container_1.add (m_email);
// setting up Sticky Button m_directory
m_directory = new EToolStickyButton ();
m_directory.setBooleanGroup (bg);
m_directory.setState (false);
m_directory.setImagePosition (EToolStickyButton.TOP);
m_directory.setImageBundle (ImageUtils.getImageBundledResource (getClass(), "directory.gif"));
container_1.add (m_directory);
// setting up Sticky Button m_scratch
m_scratch = new EToolStickyButton ();
m_scratch.setBooleanGroup (bg);
m_scratch.setState (false);
m_scratch.setImagePosition (EToolStickyButton.TOP);
m_scratch.setImageBundle (ImageUtils.getImageBundledResource (getClass(),  (scratchpad.gif"));
container_1.add (m_scratch);