jTracer  1.03
Stack trace visualization tool
Button org.libcsdbg.jtracer.ToolBar.createTool ( String  cmd)
private

Create a toolbar button.

Parameters
[in]cmdthe tool action command
Returns
the created object

Definition at line 78 of file ToolBar.java.

References org.libcsdbg.jtracer.ToolBar.handler.

79  {
80  String nm = cmd.toLowerCase().replace(' ', '_') + "24.png";
81  Button retval = new Button(nm, cmd, handler);
82  retval.setMargin(new Insets(2, 2, 2, 2));
83  return retval;
84  }
ActionListener handler
Event handler.
Definition: ToolBar.java:29