Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
Introduction: This is the implementation of simple standalone editor application.
It is based on the fact that NetBeans editors are pure swing editors.
Everything you need forthis editor is editor-lib.jar archive from NetBeans
build (modules/editor-lib.jar) and a set of classes from this directory and subdirectories.
How to compile/setup it/run it:
Basically, you need only Editor.java located under the base subdir and editor-lib.jar to compile it and make it working with other Swing
EditorKits. To use NetBeans' Java and HTML editor, you also need to
compile JavaKit and HTMLKit. At best, just compile the whole content
of base/org/netbeans/editor/example:
cd base/org/netbeans/editor/example
javac -classpath $NB_HOME/modules/editor-lib.jar *.java
and make jar of classes and resources subdirectory:
cd ../../../..
jar -cvf editor.jar org/netbeans/editor/example/*.class org/netbeans/editor/example/res
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.