protected JList scenariosList;
protected JTextArea descriptionArea;
protected JTextArea sourceArea;
protected Component initComponent() {
JPanel mainPanel = new JPanel(new TableLayout(new double[][]{{0, 250, 1, -1, 0}, {0, -1, 1, -1, 0}}));
// Scenarios Panel
JPanel scenariosPanel = new JPanel(new TableLayout(new double[][]{{0, -1, 0}, {0, -1, 0}}));
scenariosPanel.setBorder(new TitledBorder(getScenariosPanelBorderTitle()));
scenariosList = new JList(new ListScenarioListModel());
scenariosList.addListSelectionListener(new ContextPutListSelectionListener(viewContext, "Scenario", scenariosList));
scenariosList.addMouseListener(new ContextListDoubleClickMouseListener(viewContext, "Execute"));
scenariosPanel.add(new JScrollPane(scenariosList), "1,1,FULL,FULL");
// Descriptions Panel
JPanel descriptionsPanel = new JPanel(new TableLayout(new double[][]{{0, -1, 120, 0}, {0, -1, 1, 20, 0}}));
descriptionsPanel.setBorder(new TitledBorder("Description"));
descriptionsPanel.add(new JScrollPane(descriptionArea = new JTextArea()), "1,1,2,1");
descriptionArea.setWrapStyleWord(true);
descriptionsPanel.add(new JButton(new ViewContextAction("Execute", null, viewContext, "Execute", "Scenario")), "2,3,FULL,FULL");
// Source Panel
JPanel sourcePanel = new JPanel(new TableLayout(new double[][]{{0, -1, 0}, {0, -1, 0}}));
sourcePanel.setBorder(new TitledBorder("Source"));
sourcePanel.add(new JScrollPane(sourceArea = new JTextArea()), "1,1,FULL,FULL");
sourceArea.setWrapStyleWord(true);