103104105106107108109110111112113
tool.addCommand(new ScrollbarCommand(tool, buffer)); tool.setLineNumbers(BasicLineNumberIndex.create(buffer)); if (cmd.hasOption("b")) { BackgroundProcess process = new BackgroundProcess(tool); process.startBackgroundThread(); } tool.show(); }