why wont the handleMessage work?
Submitted by Sunday, 11 July, 2004 - 22:52
on
public class jplant2Plugin extends EBPlugin
{
public void createMenuItems(Vector menuItems)
{
JMenuItem menu=GUIUtilities.loadMenu("jplant2");
menuItems.addElement(menu);
}
public void handleMessage(EBMessage message)
{
//JOptionPane pane = new JOptionPane (message.toString(),JOptionPane.INFORMATION_MESSAGE);
//pane.show();
System.out.println ("handlerm");
}
}
{
public void createMenuItems(Vector menuItems)
{
JMenuItem menu=GUIUtilities.loadMenu("jplant2");
menuItems.addElement(menu);
}
public void handleMessage(EBMessage message)
{
//JOptionPane pane = new JOptionPane (message.toString(),JOptionPane.INFORMATION_MESSAGE);
//pane.show();
System.out.println ("handlerm");
}
}