当前位置: 首页>>代码示例>>Java>>正文


Java RTextScrollPane.setFoldIndicatorEnabled方法代码示例

本文整理汇总了Java中org.fife.ui.rtextarea.RTextScrollPane.setFoldIndicatorEnabled方法的典型用法代码示例。如果您正苦于以下问题:Java RTextScrollPane.setFoldIndicatorEnabled方法的具体用法?Java RTextScrollPane.setFoldIndicatorEnabled怎么用?Java RTextScrollPane.setFoldIndicatorEnabled使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.fife.ui.rtextarea.RTextScrollPane的用法示例。


在下文中一共展示了RTextScrollPane.setFoldIndicatorEnabled方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: SourceCodeEditor

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
/**
 *
 * @param frame
 * @param name
 */
public SourceCodeEditor(MainFrame frame, String name) {
	super(frame);
	this.fileName = name;
	setName(name);
	setLayout(new BorderLayout());
	textarea = new TextEditorPane();
	textarea.setCodeFoldingEnabled(true);
	textarea.setAnimateBracketMatching(true);
	textarea.setAutoIndentEnabled(true);
	textarea.setBracketMatchingEnabled(true);
	textarea.setAntiAliasingEnabled(true);
	textarea.getDocument().addDocumentListener(this);

	RTextScrollPane scrollpane = new RTextScrollPane(textarea);
	scrollpane.setFoldIndicatorEnabled(true);
	add(scrollpane);
}
 
开发者ID:roscisz,项目名称:KernelHive,代码行数:23,代码来源:SourceCodeEditor.java

示例2: CustomCodeSyntaxPane

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
public CustomCodeSyntaxPane() {

		panel = new JPanel(new BorderLayout());
		textArea = new RSyntaxTextArea();
		textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA);
		textArea.setAntiAliasingEnabled(true);
		textArea.setCodeFoldingEnabled(true);
		textArea.setFont(DerivedConfig.getPanelContentFont());

		// setup autocompletion
		for (String word : getAutocompletionStrings()) {
			provider.addCompletion(new BasicCompletion(provider, word));
		}
		new AutoCompletion(provider).install(textArea);

		scrollPane = new RTextScrollPane(textArea);
		scrollPane.setFoldIndicatorEnabled(true);
		scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
		scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
		panel.add(scrollPane);
		textArea.getDocument().putProperty(PlainDocument.tabSizeAttribute, 3); // Reduce tab size
	}
 
开发者ID:umlet,项目名称:umlet,代码行数:23,代码来源:CustomCodeSyntaxPane.java

示例3: addNewTab

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
/**
 * Adds a tab labeled "*" to the TabbedPane. Also, adds a SparqlTextArea to
the tab, and modifies the text-area's pop-up menu to show a "Rename Tab"
option and removes the code-folding option.
 */
private void addNewTab() {
	SparqlTextArea textEditor = new SparqlTextArea();

	RTextScrollPane sp = new RTextScrollPane( textEditor );
	sp.setFoldIndicatorEnabled( false );
	this.addTab( "*", sp );
	this.setToolTipTextAt( this.getTabCount() - 1, "Add New Tab" );
	//If nothing is set to the text editor, when it is opened in V-CAMP/SEMOSS,
	//it may not respond to programmatic assignment, and the tool may hang:
	//textEditor.setText( "" );

	//Add an item to the context-popup menu that allows one to rename the current tab:
	JPopupMenu popup = textEditor.getPopupMenu();
	popup.add( renamer );

	//Place a black 1px border around the top component in TabbedQueries:
	sp.setBorder( BorderFactory.createMatteBorder( 0, 1, 1, 1, Color.BLACK ) );

	// Fix to make sure that bracket match highlighting follows component resize
	// (really small windows can make it ugly)
	textEditor.addComponentListener(new ComponentAdapter() {
		@Override
		public void componentResized( ComponentEvent e ) {
			int caratPosistion = ( (SparqlTextArea) e.getSource() ).getCaretPosition();
			( (SparqlTextArea) e.getSource() ).setCaretPosition( 0 );
			( (SparqlTextArea) e.getSource() ).setCaretPosition( caratPosistion );
		}
	} );
}
 
开发者ID:Ostrich-Emulators,项目名称:semtool,代码行数:35,代码来源:TabbedQueries.java

示例4: getEditionPanel

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
private JPanel getEditionPanel() {
    if (this.editionPanel == null) {
        this.editionPanel = new JPanel(new BorderLayout());
        this.editionPanel.setBorder(border);
        RTextScrollPane sp = new RTextScrollPane(this.getEditor());
        sp.setFoldIndicatorEnabled(true);

        this.editionPanel.add(sp, BorderLayout.CENTER);
    }
    return this.editionPanel;
}
 
开发者ID:IGNF,项目名称:geoxygene,代码行数:12,代码来源:StyleEditionExpertFrame.java

示例5: getEditionPanel

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
private JPanel getEditionPanel() {
  if (this.editionPanel == null) {
    this.editionPanel = new JPanel(new BorderLayout());
    this.editionPanel.setBorder(border);
    RTextScrollPane sp = new RTextScrollPane(this.getEditor());
    sp.setFoldIndicatorEnabled(true);

    this.editionPanel.add(sp, BorderLayout.CENTER);
    this.editionPanel.add(this.getSearchPanel(), BorderLayout.NORTH);
  }
  return this.editionPanel;
}
 
开发者ID:IGNF,项目名称:geoxygene,代码行数:13,代码来源:StyleEditionExpertFrame.java

示例6: configureScriptTextArea

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
private void configureScriptTextArea(RSyntaxTextArea eventContent, RTextScrollPane scrollPane_2, String syntaxStyle)
{
    eventContent.setSyntaxEditingStyle(syntaxStyle);
    eventContent.getFoldManager().setCodeFoldingEnabled(true);
    eventContent.setFont(new Font("Hack", Font.PLAIN, 16));
    eventContent.setRows(3);
    eventContent.setMarkOccurrences(true);
    eventContent.setLineWrap(true);
    eventContent.setWrapStyleWord(true);

    scrollPane_2.setLineNumbersEnabled(true);
    scrollPane_2.setFoldIndicatorEnabled(true);
}
 
开发者ID:d0k1,项目名称:jsflight,代码行数:14,代码来源:MainFrame.java

示例7: configure

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
private void configure(Project proj, HdlModel model) {
	this.project = proj;
	this.model = model;
	this.model.addHdlModelListener(modelListener);
	this.addWindowListener(frameListener);

	JPanel buttonsPanel = new JPanel();
	buttonsPanel.add(open);
	buttonsPanel.add(save);
	buttonsPanel.add(validate);
	buttonsPanel.add(close);
	open.addActionListener(frameListener);
	save.addActionListener(frameListener);
	close.addActionListener(frameListener);
	validate.addActionListener(frameListener);

	editor = new RSyntaxTextArea(ROWS, COLUMNS);
	editor.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_DELPHI);
	editor.setCodeFoldingEnabled(true);
	editor.setAntiAliasingEnabled(true);
	editor.getDocument().addDocumentListener(editorListener);

	RTextScrollPane sp = new RTextScrollPane(editor);
	sp.setFoldIndicatorEnabled(true);

	add(sp, BorderLayout.CENTER);
	add(buttonsPanel, BorderLayout.SOUTH);

	LocaleManager.addLocaleListener(frameListener);
	frameListener.localeChanged();
	pack();

	Dimension size = getSize();
	Dimension screen = getToolkit().getScreenSize();
	if (size.width > screen.width || size.height > screen.height) {
		size.width = Math.min(size.width, screen.width);
		size.height = Math.min(size.height, screen.height);
		setSize(size);
	}
}
 
开发者ID:reds-heig,项目名称:logisim-evolution,代码行数:41,代码来源:HdlContentEditor.java

示例8: ScriptPageContent

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
/**
 * Script page content.
 * 
 * @param script
 *            script
 * @param language
 *            script language
 */
public ScriptPageContent(String script, Language language) {
	setLayout(new BorderLayout());

	textArea = new RSyntaxTextArea(20, 60);
	textArea.setTabSize(4);
	textArea.setSyntaxEditingStyle(language.getContentType());
	textArea.setCodeFoldingEnabled(true);
	textArea.setAntiAliasingEnabled(true);
	RTextScrollPane scrollPane = new RTextScrollPane(textArea);
	scrollPane.setFoldIndicatorEnabled(true);

	textArea.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
	textArea.setText(script);
	textArea.setVisible(true);
	textArea.addKeyListener(new KeyAdapter() {
		@Override
		public void keyPressed(KeyEvent e) {
			if (e.isControlDown() && e.getKeyCode() == KeyEvent.VK_F) {
				searchField.requestFocus();
			}
			super.keyPressed(e);
		}
	});

	scrollPane.setBorder(BorderFactory.createEmptyBorder());
	scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
	scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
	add(scrollPane, BorderLayout.CENTER);
	add(createToolBar(), BorderLayout.SOUTH);
}
 
开发者ID:naver,项目名称:ngrinder-recorder,代码行数:39,代码来源:ScriptPageContent.java

示例9: createMainPanel

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
private JComponent createMainPanel() {
	txpQuery = new RSyntaxTextArea();
	txpQuery.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_SQL);
	scpQuery = new RTextScrollPane(txpQuery, true);
	scpQuery.setFoldIndicatorEnabled(true);
	scpQuery.setViewportView(txpQuery);

	scpRules = new JScrollPane();
	tblRules = new JTable();
	tblRules.setFillsViewportHeight(true);
	tblRules.setPreferredSize(new Dimension(100, 100));
	tblRules.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
	tblRules.setEditingColumn(0);
	tblRules.setAutoCreateColumnsFromModel(true);
	tblRules.setAutoCreateRowSorter(false);
	tblRules.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
	scpRules.setSize(tblRules.getPreferredSize());
	scpRules.setViewportView(tblRules);

	tblSelectResults = new JTable();		
	sppSelectResults = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
	sppSelectResults.setTopComponent(scpQuery);
	sppSelectResults.setBottomComponent(new JScrollPane(tblSelectResults));
	
	JSplitPane spp = new JSplitPane();
	spp.setRightComponent(sppSelectResults);
	spp.setDividerLocation(0.3);
	spp.setLeftComponent(new JScrollPane(tblRules));
	
	return spp;
}
 
开发者ID:psiotwo,项目名称:sdlnot-rules,代码行数:32,代码来源:SparqlDLNotRulesPanelView.java

示例10: JavaEditor

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
public JavaEditor(JavaFile file) {
	this.file = file;
	mainSplitPane = new JSplitPane();
	mainSplitPane.setContinuousLayout(true);
	mainSplitPane.setResizeWeight(0.5);

	textArea = new RSyntaxTextArea();
	textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA);
	textArea.setEditable(false);
	textArea.setAnimateBracketMatching(true);
	textArea.setAntiAliasingEnabled(true);
	textArea.setClearWhitespaceLinesEnabled(true);
	textArea.setCodeFoldingEnabled(true);
	textArea.setPaintMarkOccurrencesBorder(true);
	textArea.setPaintMatchedBracketPair(true);
	textArea.setMarkOccurrences(true);
	textArea.getCaret().addChangeListener(new ChangeListener() {
		@Override
		public void stateChanged(ChangeEvent paramChangeEvent) {
			textArea.getCaret().setVisible(true);
		}
	});

	int mod = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
	ResourceBundle msg = ResourceBundle.getBundle("org.fife.ui.rtextarea.RTextArea");

	RecordableTextAction copyAction = new RTextAreaEditorKit.CopyAction();
	copyAction.setProperties(msg, "Action.Copy");
	copyAction.setAccelerator(KeyStroke.getKeyStroke(67, mod));

	JPopupMenu menu = new JPopupMenu();
	menu.add(createPopupMenuItem(copyAction));
	menu.add(createPopupMenuItem(new RenameAction()));
	textArea.setPopupMenu(menu);

	textArea.setText(
			"package abc;\r\n\r\npublic class Example{\r\n\tprivate int example = 0;\r\n\t\r\n\tpublic void example(){\r\n\t\tSystem.out.println(\"hi!\");\r\n\t}\r\n\t\r\n\tpublic static void main(String[] args){\r\n\t\texample();\r\n\t}\r\n}");

	textArea.convertSpacesToTabs();

	theme.apply(textArea);

	RTextScrollPane scrollPane = new RTextScrollPane(textArea, true);
	scrollPane.getGutter().setBookmarkingEnabled(true);
	scrollPane.getGutter()
			.setBookmarkIcon(new ImageIcon(EditorWindow.class.getResource("/resources/menu/connection.gif")));
	scrollPane.setIconRowHeaderEnabled(true);
	scrollPane.setFoldIndicatorEnabled(true);
	mainSplitPane.setLeftComponent(scrollPane);

	JScrollPane treeScrollPane = new JScrollPane();
	mainSplitPane.setRightComponent(treeScrollPane);

	JTree tree = new JTree();
	tree.setModel(new DefaultTreeModel(new DefaultMutableTreeNode("Example") {
		{
			DefaultMutableTreeNode node_1;
			node_1 = new DefaultMutableTreeNode("Variables");
			node_1.add(new DefaultMutableTreeNode("int example"));
			add(node_1);
			node_1 = new DefaultMutableTreeNode("Methods");
			node_1.add(new DefaultMutableTreeNode("public void example()"));
			node_1.add(new DefaultMutableTreeNode("public static void main(String[] args)"));
			add(node_1);
			add(new DefaultMutableTreeNode("Patches"));
		}
	}));
	treeScrollPane.setViewportView(tree);
}
 
开发者ID:Error22,项目名称:Lychee,代码行数:70,代码来源:JavaEditor.java

示例11: FindAndReplaceDemo

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
public FindAndReplaceDemo() {

		JPanel cp = new JPanel(new BorderLayout());

		textArea = new RSyntaxTextArea(20, 60);
		textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA);
		textArea.setCodeFoldingEnabled(true);
		textArea.setAntiAliasingEnabled(true);
		RTextScrollPane sp = new RTextScrollPane(textArea);
		sp.setFoldIndicatorEnabled(true);
		cp.add(sp);

		// Create a toolbar with searching options.
		JToolBar toolBar = new JToolBar();
		searchField = new JTextField(30);
		toolBar.add(searchField);
		final JButton nextButton = new JButton("Find Next");
		nextButton.setActionCommand("FindNext");
		nextButton.addActionListener(this);
		toolBar.add(nextButton);
		searchField.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				nextButton.doClick(0);
			}
		});
		JButton prevButton = new JButton("Find Previous");
		prevButton.setActionCommand("FindPrev");
		prevButton.addActionListener(this);
		toolBar.add(prevButton);
		regexCB = new JCheckBox("Regex");
		toolBar.add(regexCB);
		matchCaseCB = new JCheckBox("Match Case");
		toolBar.add(matchCaseCB);
		cp.add(toolBar, BorderLayout.NORTH);

		setContentPane(cp);
		setTitle("Find and Replace Demo");
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		pack();
		setLocationRelativeTo(null);

	}
 
开发者ID:glaudiston,项目名称:project-bianca,代码行数:44,代码来源:FindAndReplaceDemo.java

示例12: SimonkEditorPanel

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
public SimonkEditorPanel(KKMulticopterFlashTool parent) {
	this.parent = parent;
	
	//create the CellContraints
	cc  = new CellConstraints();
			
	// create the Layout for Panel this
	String panelColumns = "fill:pref:grow";
	String panelRows = "pref,3dlu,fill:pref:grow,3dlu,pref";
	FormLayout formLayout = new FormLayout(panelColumns, panelRows);
	
	this.setLayout(formLayout);

	githubPanel = new GithubPanel("sim-/tgy");
	githubPanel.addGithubPanelListener(this);
			
	tgyTextArea = new RSyntaxTextArea(20, 60);
	tgyTextArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_ASSEMBLER_X86);
	tgyTextArea.setCodeFoldingEnabled(true);
	tgyTextArea.setAntiAliasingEnabled(true);
	RTextScrollPane tgyEditorPane = new RTextScrollPane(tgyTextArea);
	tgyEditorPane.setFoldIndicatorEnabled(true);
	tgyEditorPane.setLineNumbersEnabled(true);
	
	incTextArea = new RSyntaxTextArea(20, 60);
	incTextArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_ASSEMBLER_X86);
	incTextArea.setCodeFoldingEnabled(true);
	incTextArea.setAntiAliasingEnabled(true);
	RTextScrollPane incEditorPane = new RTextScrollPane(incTextArea);
	incEditorPane.setFoldIndicatorEnabled(true);
	incEditorPane.setLineNumbersEnabled(true);
	
	tabs = new JTabbedPane();
	tabs.add("empty",tgyEditorPane);
	tabs.add("empty",incEditorPane);
	
	saveButton = new JButton(_("save"));
	saveButton.addActionListener(this);
	saveButton.setEnabled(false);
	
	compileButton = new JButton(_("compile"));
	compileButton.addActionListener(this);
	compileButton.setEnabled(false);
	
	saveCompileButton = new JButton(_("save") + " & " +_("compile"));
	saveCompileButton.addActionListener(this);
	saveCompileButton.setEnabled(false);
	
	bar = new ButtonBarBuilder2();
	bar.addButton(saveButton);
	bar.addButton(compileButton);
	bar.addGlue();
	bar.addUnrelatedGap();
	bar.addButton(saveCompileButton);
	
	this.add(githubPanel, cc.xy(1, 1));
	this.add(tabs, cc.xy(1, 3));
	this.add(bar.getPanel(), cc.xy(1, 5));

	try {
		Theme theme = Theme.load(SimonkEditorPanel.class.getResourceAsStream("/de/lazyzero/kkMulticopterFlashTool/gui/widgets/dark.xml"));
		theme.apply(tgyTextArea);
		theme.apply(incTextArea);
	} catch (IOException ioe) { // Never happens
		ioe.printStackTrace();
	}
}
 
开发者ID:lazyzero,项目名称:kkMulticopterFlashTool,代码行数:68,代码来源:SimonkEditorPanel.java

示例13: FindAndReplaceDemo

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
public FindAndReplaceDemo() {

    JPanel cp = new JPanel(new BorderLayout());

    textArea = new RSyntaxTextArea(20, 60);
    textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA);
    textArea.setCodeFoldingEnabled(true);
    textArea.setAntiAliasingEnabled(true);
    RTextScrollPane sp = new RTextScrollPane(textArea);
    sp.setFoldIndicatorEnabled(true);
    cp.add(sp);

    // Create a toolbar with searching options.
    JToolBar toolBar = new JToolBar();
    searchField = new JTextField(30);
    toolBar.add(searchField);
    final JButton nextButton = new JButton("Find Next");
    nextButton.setActionCommand("FindNext");
    nextButton.addActionListener(this);
    toolBar.add(nextButton);
    searchField.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        nextButton.doClick(0);
      }
    });
    JButton prevButton = new JButton("Find Previous");
    prevButton.setActionCommand("FindPrev");
    prevButton.addActionListener(this);
    toolBar.add(prevButton);
    regexCB = new JCheckBox("Regex");
    toolBar.add(regexCB);
    matchCaseCB = new JCheckBox("Match Case");
    toolBar.add(matchCaseCB);
    cp.add(toolBar, BorderLayout.NORTH);

    setContentPane(cp);
    setTitle("Find and Replace Demo");
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    pack();
    setLocationRelativeTo(null);

  }
 
开发者ID:MyRobotLab,项目名称:myrobotlab,代码行数:44,代码来源:FindAndReplaceDemo.java

示例14: SerpentEditor

import org.fife.ui.rtextarea.RTextScrollPane; //导入方法依赖的package包/类
public SerpentEditor(ToolBar toolBar) {

        this.toolBar = toolBar;
        addCloseAction();
        contentPane = new JPanel(new BorderLayout());

        URL url = ClassLoader.getSystemResource("ethereum-icon.png");
        Toolkit kit = Toolkit.getDefaultToolkit();
        Image img = kit.createImage(url);
        this.setIconImage(img);
        this.setLocation(30, 70);

        AbstractTokenMakerFactory atmf = (AbstractTokenMakerFactory)TokenMakerFactory.getDefaultInstance();
        atmf.putMapping("text/serpent", "org.ethereum.gui.SerpentTokenMaker");

        codeArea = new RSyntaxTextArea(32, 80);
        codeArea.setSyntaxEditingStyle("text/serpent");
        codeArea.setCodeFoldingEnabled(true);
        codeArea.setAntiAliasingEnabled(true);
        codeArea.setText(defaultCode);

        changeStyleProgrammatically();

        RTextScrollPane sp = new RTextScrollPane(codeArea);

        sp.setFoldIndicatorEnabled(true);
        contentPane.setLayout(new BorderLayout());

        splitPanel = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
        splitPanel.setOneTouchExpandable(true);
        splitPanel.setDividerSize(5);
        splitPanel.setContinuousLayout(true);

        contentPane.add(splitPanel, BorderLayout.CENTER);
        splitPanel.add(sp);

        result = new JTextArea();
        result.setLineWrap(true);
        result.setWrapStyleWord(true);
        result.setVisible(false);

        splitPanel.add(result);

        JPanel controlsPanel = new JPanel();
        FlowLayout fl = new FlowLayout(FlowLayout.CENTER, 10, 5);
//        fl.setAlignment(FlowLayout.RIGHT);
        controlsPanel.setLayout(fl);
        controlsPanel.setMaximumSize(new Dimension(10000, 20));
        controlsPanel.setPreferredSize(new Dimension(600, 20));
        controlsPanel.setMinimumSize(new Dimension(1, 20));

        contentPane.add(controlsPanel, BorderLayout.SOUTH);

        createToolBar();

        setContentPane(contentPane);
        setTitle("Serpent Editor");

        pack();
        this.revalidate();
        this.repaint();
    }
 
开发者ID:ethereumj,项目名称:ethereumj,代码行数:63,代码来源:SerpentEditor.java


注:本文中的org.fife.ui.rtextarea.RTextScrollPane.setFoldIndicatorEnabled方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。