Skip to content

Commit 37179b0

Browse files
author
crayment16
committed
Improve documentation (typos and stuff)
Changed Read, Write, WriteLine, FillArray to be all lowercase. Updated documentation to represent case.
1 parent e4ed58c commit 37179b0

40 files changed

+443
-190
lines changed

build.xml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- You may freely edit this file. See commented blocks below for -->
3+
<!-- some examples of how to customize the build. -->
4+
<!-- (If you delete it and reopen the project it will be recreated.) -->
5+
<!-- By default, only the Clean and Build commands use this build script. -->
6+
<!-- Commands such as Run, Debug, and Test only use this build script if -->
7+
<!-- the Compile on Save feature is turned off for the project. -->
8+
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
9+
<!-- in the project's Project Properties dialog box.-->
10+
<project name="PseudocodeExecutionTool" default="default" basedir=".">
11+
<description>Builds, tests, and runs the project PseudocodeExecutionTool.</description>
12+
<import file="nbproject/build-impl.xml"/>
13+
<!--
14+
15+
There exist several targets which are by default empty and which can be
16+
used for execution of your tasks. These targets are usually executed
17+
before and after some main targets. They are:
18+
19+
-pre-init: called before initialization of project properties
20+
-post-init: called after initialization of project properties
21+
-pre-compile: called before javac compilation
22+
-post-compile: called after javac compilation
23+
-pre-compile-single: called before javac compilation of single file
24+
-post-compile-single: called after javac compilation of single file
25+
-pre-compile-test: called before javac compilation of JUnit tests
26+
-post-compile-test: called after javac compilation of JUnit tests
27+
-pre-compile-test-single: called before javac compilation of single JUnit test
28+
-post-compile-test-single: called after javac compilation of single JUunit test
29+
-pre-jar: called before JAR building
30+
-post-jar: called after JAR building
31+
-post-clean: called after cleaning build products
32+
33+
(Targets beginning with '-' are not intended to be called on their own.)
34+
35+
Example of inserting an obfuscator after compilation could look like this:
36+
37+
<target name="-post-compile">
38+
<obfuscate>
39+
<fileset dir="${build.classes.dir}"/>
40+
</obfuscate>
41+
</target>
42+
43+
For list of available properties check the imported
44+
nbproject/build-impl.xml file.
45+
46+
47+
Another way to customize the build is by overriding existing main targets.
48+
The targets of interest are:
49+
50+
-init-macrodef-javac: defines macro for javac compilation
51+
-init-macrodef-junit: defines macro for junit execution
52+
-init-macrodef-debug: defines macro for class debugging
53+
-init-macrodef-java: defines macro for class execution
54+
-do-jar-with-manifest: JAR building (if you are using a manifest)
55+
-do-jar-without-manifest: JAR building (if you are not using a manifest)
56+
run: execution of project
57+
-javadoc-build: Javadoc generation
58+
test-report: JUnit report generation
59+
60+
An example of overriding the target for project execution could look like this:
61+
62+
<target name="run" depends="PseudocodeExecutionTool-impl.jar">
63+
<exec dir="bin" executable="launcher.exe">
64+
<arg file="${dist.jar}"/>
65+
</exec>
66+
</target>
67+
68+
Notice that the overridden target depends on the jar target and not only on
69+
the compile target as the regular run target does. Again, for a list of available
70+
properties which you can use, check the target you are overriding in the
71+
nbproject/build-impl.xml file.
72+
73+
-->
74+
</project>

nbproject/genfiles.properties

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
build.xml.data.CRC32=e4c21730
2-
build.xml.script.CRC32=42815ec8
3-
build.xml.stylesheet.CRC32=958a1d3e
4-
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5-
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6-
nbproject/build-impl.xml.data.CRC32=e4c21730
7-
nbproject/build-impl.xml.script.CRC32=345148bc
8-
nbproject/build-impl.xml.stylesheet.CRC32=65b8de21
9-
nbproject/profiler-build-impl.xml.data.CRC32=e4c21730
10-
nbproject/profiler-build-impl.xml.script.CRC32=abda56ed
11-
nbproject/profiler-build-impl.xml.stylesheet.CRC32=42cb6bcf
1+
build.xml.data.CRC32=55b698fb
2+
build.xml.script.CRC32=42815ec8
3+
build.xml.stylesheet.CRC32=958a1d3e
4+
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5+
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6+
nbproject/build-impl.xml.data.CRC32=55b698fb
7+
nbproject/build-impl.xml.script.CRC32=345148bc
8+
nbproject/build-impl.xml.stylesheet.CRC32=65b8de21
9+
nbproject/profiler-build-impl.xml.data.CRC32=e4c21730
10+
nbproject/profiler-build-impl.xml.script.CRC32=abda56ed
11+
nbproject/profiler-build-impl.xml.stylesheet.CRC32=42cb6bcf

nbproject/project.xml

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://www.netbeans.org/ns/project/1">
3-
<type>org.netbeans.modules.java.j2seproject</type>
4-
<configuration>
5-
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
6-
<name>PseudocodeExecutionTool</name>
7-
<minimum-ant-version>1.6.5</minimum-ant-version>
8-
<explicit-platform explicit-source-supported="true"/>
9-
<source-roots>
10-
<root id="src.dir"/>
11-
</source-roots>
12-
<test-roots>
13-
<root id="test.src.dir"/>
14-
</test-roots>
15-
</data>
16-
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
17-
<definitions>.\lib\nblibraries.properties</definitions>
18-
</libraries>
19-
<swingapp xmlns="http://www.netbeans.org/ns/form-swingapp/1">
20-
<application-class name="PET.PETApp"/>
21-
</swingapp>
22-
</configuration>
23-
</project>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://www.netbeans.org/ns/project/1">
3+
<type>org.netbeans.modules.java.j2seproject</type>
4+
<configuration>
5+
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
6+
<name>PseudocodeExecutionTool</name>
7+
<minimum-ant-version>1.6.5</minimum-ant-version>
8+
<explicit-platform explicit-source-supported="true"/>
9+
<source-roots>
10+
<root id="src.dir"/>
11+
</source-roots>
12+
<test-roots>
13+
<root id="test.src.dir"/>
14+
</test-roots>
15+
</data>
16+
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
17+
<definitions>.\lib\nblibraries.properties</definitions>
18+
</libraries>
19+
</configuration>
20+
</project>

src/PET/AboutBox.form

Lines changed: 70 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -27,51 +27,72 @@
2727
<DimensionLayout dim="0">
2828
<Group type="103" groupAlignment="0" attributes="0">
2929
<Group type="102" alignment="0" attributes="0">
30+
<EmptySpace max="-2" attributes="0"/>
3031
<Component id="imageLabel" min="-2" max="-2" attributes="0"/>
31-
<EmptySpace type="separate" min="-2" max="-2" attributes="0"/>
32+
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
3233
<Group type="103" groupAlignment="0" attributes="0">
33-
<Component id="appTitleLabel" alignment="0" min="-2" max="-2" attributes="0"/>
34-
<Component id="appDescLabel" alignment="0" pref="370" max="32767" attributes="0"/>
35-
<Component id="closeButton" alignment="1" min="-2" max="-2" attributes="0"/>
34+
<Group type="102" alignment="0" attributes="0">
35+
<Component id="jScrollPane1" min="-2" pref="328" max="-2" attributes="1"/>
36+
<EmptySpace min="-2" pref="117" max="-2" attributes="0"/>
37+
</Group>
3638
<Group type="102" alignment="0" attributes="0">
3739
<Group type="103" groupAlignment="0" attributes="0">
38-
<Component id="versionLabel" alignment="0" min="-2" max="-2" attributes="0"/>
39-
<Component id="homepageLabel" alignment="0" min="-2" max="-2" attributes="0"/>
40+
<Component id="appTitleLabel" alignment="0" min="-2" max="-2" attributes="0"/>
41+
<Component id="appDescLabel" alignment="0" pref="425" max="32767" attributes="0"/>
42+
<Group type="102" alignment="0" attributes="0">
43+
<Group type="103" groupAlignment="0" attributes="0">
44+
<Component id="versionLabel" alignment="0" min="-2" max="-2" attributes="0"/>
45+
<Component id="homepageLabel" alignment="0" min="-2" max="-2" attributes="0"/>
46+
</Group>
47+
<EmptySpace max="-2" attributes="0"/>
48+
<Group type="103" groupAlignment="0" attributes="0">
49+
<Component id="appHomepageLabel" min="-2" max="-2" attributes="0"/>
50+
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
51+
<Component id="appVersionLabel" alignment="0" min="-2" max="-2" attributes="0"/>
52+
</Group>
53+
<EmptySpace min="-2" pref="67" max="-2" attributes="0"/>
54+
<Component id="closeButton" min="-2" max="-2" attributes="0"/>
55+
</Group>
4056
</Group>
4157
<EmptySpace max="-2" attributes="0"/>
42-
<Group type="103" groupAlignment="0" attributes="0">
43-
<Component id="appHomepageLabel" min="-2" max="-2" attributes="0"/>
44-
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
45-
<Component id="appVersionLabel" alignment="0" min="-2" max="-2" attributes="0"/>
46-
</Group>
47-
<EmptySpace min="-2" pref="155" max="-2" attributes="0"/>
4858
</Group>
4959
</Group>
50-
<EmptySpace max="-2" attributes="0"/>
5160
</Group>
5261
</Group>
5362
</DimensionLayout>
5463
<DimensionLayout dim="1">
5564
<Group type="103" groupAlignment="0" attributes="0">
56-
<Component id="imageLabel" min="-2" pref="214" max="32767" attributes="0"/>
5765
<Group type="102" alignment="0" attributes="0">
5866
<EmptySpace max="-2" attributes="0"/>
59-
<Component id="appTitleLabel" min="-2" max="-2" attributes="0"/>
60-
<EmptySpace min="-2" max="-2" attributes="0"/>
61-
<Component id="appDescLabel" min="-2" max="-2" attributes="0"/>
62-
<EmptySpace min="-2" max="-2" attributes="0"/>
63-
<Group type="103" groupAlignment="3" attributes="0">
64-
<Component id="versionLabel" alignment="3" min="-2" max="-2" attributes="0"/>
65-
<Component id="appVersionLabel" alignment="3" min="-2" max="-2" attributes="0"/>
66-
</Group>
67-
<EmptySpace max="-2" attributes="0"/>
68-
<Group type="103" groupAlignment="3" attributes="0">
69-
<Component id="homepageLabel" alignment="3" min="-2" max="-2" attributes="0"/>
70-
<Component id="appHomepageLabel" alignment="3" min="-2" max="-2" attributes="0"/>
71-
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
67+
<Group type="103" groupAlignment="0" attributes="0">
68+
<Component id="imageLabel" alignment="0" min="-2" max="-2" attributes="0"/>
69+
<Group type="102" alignment="0" attributes="0">
70+
<Component id="appTitleLabel" min="-2" max="-2" attributes="0"/>
71+
<EmptySpace min="-2" max="-2" attributes="0"/>
72+
<Component id="appDescLabel" min="-2" max="-2" attributes="0"/>
73+
<EmptySpace min="-2" max="-2" attributes="0"/>
74+
<Group type="103" groupAlignment="3" attributes="0">
75+
<Component id="versionLabel" alignment="3" min="-2" max="-2" attributes="0"/>
76+
<Component id="appVersionLabel" alignment="3" min="-2" max="-2" attributes="0"/>
77+
</Group>
78+
<EmptySpace max="-2" attributes="0"/>
79+
<Group type="103" groupAlignment="3" attributes="0">
80+
<Component id="homepageLabel" alignment="3" min="-2" max="-2" attributes="0"/>
81+
<Component id="appHomepageLabel" alignment="3" min="-2" max="-2" attributes="0"/>
82+
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
83+
</Group>
84+
<Group type="103" groupAlignment="0" attributes="0">
85+
<Group type="102" attributes="0">
86+
<EmptySpace pref="92" max="32767" attributes="0"/>
87+
<Component id="closeButton" min="-2" max="-2" attributes="0"/>
88+
</Group>
89+
<Group type="102" alignment="0" attributes="0">
90+
<EmptySpace max="-2" attributes="0"/>
91+
<Component id="jScrollPane1" min="-2" pref="110" max="-2" attributes="0"/>
92+
</Group>
93+
</Group>
94+
</Group>
7295
</Group>
73-
<EmptySpace pref="104" max="32767" attributes="0"/>
74-
<Component id="closeButton" min="-2" max="-2" attributes="0"/>
7596
<EmptySpace max="-2" attributes="0"/>
7697
</Group>
7798
</Group>
@@ -168,5 +189,25 @@
168189
<Property name="text" type="java.lang.String" resourceKey="jLabel1.text"/>
169190
</Properties>
170191
</Component>
192+
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
193+
<AuxValues>
194+
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
195+
</AuxValues>
196+
197+
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
198+
<SubComponents>
199+
<Component class="javax.swing.JTextArea" name="jTextArea1">
200+
<Properties>
201+
<Property name="background" type="java.awt.Color" resourceKey="jTextArea1.background"/>
202+
<Property name="columns" type="int" value="20"/>
203+
<Property name="editable" type="boolean" value="false"/>
204+
<Property name="lineWrap" type="boolean" value="true"/>
205+
<Property name="rows" type="int" value="5"/>
206+
<Property name="text" type="java.lang.String" resourceKey="jTextArea1.text"/>
207+
<Property name="wrapStyleWord" type="boolean" value="true"/>
208+
</Properties>
209+
</Component>
210+
</SubComponents>
211+
</Container>
171212
</SubComponents>
172213
</Form>

0 commit comments

Comments
 (0)