jTracer  1.03
Stack trace visualization tool
Button org.libcsdbg.jtracer.Session.createTool ( String  cmd,
ActionListener  handler 
)
private

Create a toolbar button.

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

Definition at line 311 of file Session.java.

312  {
313  String nm = cmd.toLowerCase().replace(' ', '_') + "24.png";
314  Button retval = new Button(nm, cmd, handler);
315  retval.setMargin(new Insets(2, 2, 2, 2));
316  return retval;
317  }