Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

build, web

  • Loading branch information...
commit dda14733594b7c03fe60d457b13c47e662eb253c 1 parent dbf9994
Michael Forrest authored
2  resources/build.xml
@@ -152,7 +152,7 @@
152 152 stylesheetfile="resources/stylesheet.css"
153 153 doctitle="Javadocs: ${libraryName}"
154 154 public="true" version="false"
155   - windowtitle="Javadocs: ${libraryName}">
  155 + windowtitle="Javadocs: ${libraryName}" classpath="${libraryClasspath}/core.jar">
156 156 <classpath>
157 157 <path location="${libraryClasspath}/core.jar"/>
158 158 <path location="${libraryClasspath}/libraries/rwmidi/library/rwmidi.jar"/>
12 src/microkontrol/controls/Button.java
@@ -4,6 +4,8 @@
4 4 import java.lang.reflect.Method;
5 5 import java.util.ArrayList;
6 6
  7 +import processing.core.PApplet;
  8 +
7 9 public class Button extends KorgControl{
8 10 public static final String UPDATED = "updated";
9 11
@@ -33,15 +35,9 @@ private void dispatchTo(ArrayList<CallBack> handlers) {
33 35 CallBack handler = handlers.get(i);
34 36 try {
35 37 handler.invoke();
36   - } catch (IllegalArgumentException e) {
37   - // TODO Auto-generated catch block
38   - e.printStackTrace();
39   - } catch (IllegalAccessException e) {
40   - // TODO Auto-generated catch block
41   - e.printStackTrace();
42   - } catch (InvocationTargetException e) {
  38 + } catch (Exception e) {
43 39 // TODO Auto-generated catch block
44   - e.printStackTrace();
  40 + PApplet.println("error in pad - dispatchTo() for handler " + handler);
45 41 }
46 42 }
47 43
56 web/index.html
@@ -18,11 +18,11 @@
18 18 </head>
19 19 <body>
20 20 <div id="container">
21   -
  21 +
22 22 <div id="header">
23 23 <h1>##yourLibrary##</h1>
24 24 </div>
25   -
  25 +
26 26 <div id="menu" class="clear">
27 27 <ul>
28 28 <li><a href="#about">About</a> \ </li>
@@ -30,45 +30,45 @@
30 30 <li><a href="#download">Installation</a> \ </li>
31 31 <li><a href="#examples">Examples</a> \ </li>
32 32 <li><a href="./reference/index.html" target="_blank">Reference</a></li>
33   - <!-- <li><a href="#demos">Demos</a> \ </li> -->
  33 + <!-- <li><a href="#demos">Demos</a> \ </li> -->
34 34 <!-- <li><a href="#misc">Misc</a> \ </li> -->
35 35 <!-- <li><a href="#images">Images</a> \ </li> -->
36 36 </ul>
37 37 </div>
38   -
  38 +
39 39 <div id="content" class="clear">
40   -
  40 +
41 41 <div id="about">
42 42 <h2>##yourLibrary##</h2>
43 43 <p>
44 44 A library by <a href="##yourLink##">##author##</a> for the programming environment <a href="http://www.processing.org" target="_blank">processing</a>. Last update, ##date##.
45 45 </p>
46 46 <p>
47   - Feel free to replace this paragraph with a description of the library. Contributed libraries are developed, documented, and maintained by members of the Processing community. Further directions are included with each library. For feedback and support, please post to the Discourse. We strongly encourage all libraries to be open source, but not all of them are.
  47 + Needs RWMidi. Should manage to detect your MicroKontrol automatically - lemme know if it doesn't.
48 48 </p>
49 49 </div>
50   -
51   -
52   -
  50 +
  51 +
  52 +
53 53 <div id="download" class="clear">
54 54 <h2>Download</h2>
55 55 <p>
56   - Download ##yourLibrary## version ##versionNumber## in
  56 + Download ##yourLibrary## version ##versionNumber## in
57 57 <a href="./download/##yourLibrary##.zip">.zip format</a>.
58 58 </p>
59 59 <h2>Installation</h2>
60 60 <p>
61 61 Unzip and put the extracted ##yourLibrary## folder into the libraries folder of your processing sketches. Reference and examples are included in the ##yourLibrary## folder.
62 62 </p>
63   - </div>
64   -
65   -
  63 + </div>
  64 +
  65 +
66 66 <div id="resources">
67 67 <p><strong>Keywords</strong> ##keywords##</p>
68   - <p><strong>Reference</strong>. Have a look at the javadoc reference <a href="./reference/index.html" target="_blank">here</a>. a copy of the reference is included in the .zip as well.</p>
69   - <p><strong>Source</strong>. The source code of ##yourLibrary## is available at <a href="##source:url##">##source:host##</a>, and its repository can be browsed <a href="##source:repository##" target="_blank">here</a>.</p>
  68 + <p><strong>Reference</strong>. Have a look at the javadoc reference <a href="./reference/index.html" target="_blank">here</a>. a copy of the reference is included in the .zip as well.</p>
  69 + <p><strong>Source</strong>. The source code of ##yourLibrary## is available at <a href="##source:url##">##source:host##</a>, and its repository can be browsed <a href="##source:repository##" target="_blank">here</a>.</p>
70 70 </div>
71   -
  71 +
72 72 <div id="examples" class="clear">
73 73 <h2>Examples</h2>
74 74 <p>Find a list of examples in the current distribution of ##yourLibrary##, or have a look at them by following the links below.</p>
@@ -76,54 +76,54 @@
76 76 ##examples##
77 77 </ul>
78 78 </div>
79   -
80   -
  79 +
  80 +
81 81 <div id="info">
82 82 <h2>Tested</h2>
83 83 <p>
84 84 <!-- on which platform has the library been tested? -->
85 85 <strong>Platform</strong> ##tested:platform##
86   -
  86 +
87 87 <!-- which processing version did you use for testing your library? -->
88 88 <br /><strong>Processing</strong> ##tested:processingVersion##
89   -
  89 +
90 90 <!-- does your library depend on any other library or framework? -->
91 91 <br /><strong>Dependencies</strong> ##tested:dependencies##
92 92 </p>
93 93 </div>
94   -
95   -
  94 +
  95 +
96 96 <!-- use the demos section for a list of applets run in a browser. -->
97 97 <!--
98 98 <div id="demos" class="clear">
99 99 <h2>demos</h2>
100 100 <p>
101 101 find a list of online applet demos below.
102   -
  102 +
103 103 <ul>
104 104 <li><a href="./applets/demo/index.html">demo</a></li>
105 105 </ul>
106 106 </p>
107 107 </div>
108 108 -->
109   -
  109 +
110 110 <!-- use the misc section for other relevant information. Activate the link to the misc section in the menu above. -->
111 111 <!--
112 112 <div id="misc" class="clear">
113 113 <p></p>
114 114 </div>
115 115 -->
116   -
  116 +
117 117 <!-- use the images/screenshots section. Activate the link to the misc section in the menu above. -->
118 118 <!--
119 119 <div id="images" class="clear">
120 120 </div>
121 121 -->
122   -
123   -
  122 +
  123 +
124 124 <br class="clear" />
125 125 </div>
126   -
  126 +
127 127 <div id="footer">
128 128 <p>by ##author##, 2008.</p>
129 129 </div>

0 comments on commit dda1473

Please sign in to comment.
Something went wrong with that request. Please try again.