1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>CHARVA: A Java Windowing Toolkit for Text Terminals</title>
<meta name="keywords" content="java, text, terminal, user, interface, VT100, curses, ncurses">
<style type="text/css">
<!--
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
table {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#contentpanel {
20 px;
border-style: solid;
border-color: silver;
border-width: 1px;
padding: 0;
}
.question {
background-color: #A4FFFF;
border-style: solid;
border-color: silver;
border-top-width: 1px;
border-bottom-width: 1px;
border-left-width: 0px;
border-right-width: 0px;
}
.answer {
padding-left: 20px;
}
.menuButtonSelected {
PADDING-LEFT: 15px;
FONT-SIZE: 8pt;
CURSOR: pointer;
COLOR: white;
FONT-FAMILY: Arial;
BACKGROUND-COLOR: #6484d7;
TEXT-ALIGN: left
}
.menuButton {
PADDING-LEFT: 15px;
FONT-SIZE: 8pt;
CURSOR: pointer;
COLOR: white;
FONT-FAMILY: Arial;
BACKGROUND-COLOR: #284a7d;
TEXT-ALIGN: left;
TEXT-DECORATION: none
}
-->
</style>
</head>
<body>
<h1 align=center>A Java Windowing Toolkit for Text Terminals</h1>
<table border=0 width="100%" cellspacing="5">
<tr>
<!-- Start of left (navigation) panel -->
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>
<table width="160" border="0" cellspacing="1">
<tr bgcolor="#008000">
<td style="padding: 5px"><font color="#FFFFFF" size="4">Menu</font></td>
</tr>
<tr><td
class=menuButton id=0
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='index.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Introduction </td></tr>
<tr><td
class=menuButton id=1
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Features.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Features </td></tr>
<tr><td
class=menuButton id=2
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Status.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Status </td></tr>
<tr><td
class=menuButton id=3
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='FAQ.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> FAQ </td></tr>
<tr><td
class=menuButton id=4
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Licence.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Licence </td></tr>
<tr><td
class=menuButton id=5
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Screenshots.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Screenshots </td></tr>
<tr><td
class=menuButton id=6
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Documentation.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Documentation </td></tr>
<tr><td
class=menuButton id=7
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Download.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Download </td></tr>
<tr><td
class=menuButton id=8
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Applications.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Applications </td></tr>
<tr><td
class=menuButton id=9
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Support.html';"
onmouseout="this.className='menuButton';"
height=18
nowrap> Support </td></tr>
<tr><td
class=menuButton id=10
onmouseover="this.className='menuButtonSelected';"
onclick="top.location='Contribute.html';"
onmouseout="this.className='menuButton';"
height="18"
nowrap> Contribute </td></tr>
<!-- End of navigation panel -->
<tr><td height="10"></td></tr> <!-- Separator -->
<tr>
<td bgcolor="#008000" style="padding: 5px"><font color="#FFFFFF" size="4">Quick Info</font></td>
</tr>
<tr><td>
<table summary="quick info" cellspacing="0" cellpadding="0" border="0">
<tr style="font-size: 8pt">
<td nowrap="nowrap">Operating System: <a href="http://www.linux.org">Linux</a></td>
</tr>
<tr style="font-size: 8pt">
<td nowrap="nowrap">Language: <a href="http://java.sun.com">Java</a>, C</td>
</tr>
<tr style="font-size: 8pt">
<td nowrap="nowrap">Licence: <a href="http://www.gnu.org">GNU</a></td>
</tr>
<tr style="font-size: 8pt">
<td nowrap="nowrap">Author: <a href="http://www.pitman.co.za">Rob Pitman</a></td>
</tr>
</table>
<!-- End of Quick Info -->
</td></tr>
</table>
</td></tr>
<tr><td height="10"></td></tr> <!-- Separator -->
<tr><td>
<table cellpadding="0" cellspacing="0">
<tr><td>
<script type="text/javascript"><!--
google_ad_client = "pub-1886875109433545";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td></tr>
</table>
</td></tr>
</table>
</td> <!-- End of left (navigation) panel -->
<!-- Start of right (content) panel -->
<td valign="top" width="100%">
<table border="0" cellpadding="10" cellspacing="0" id="contentpanel">
<tr>
<td bgcolor="#B6C0FF"><font size="+1">Screenshots</font></td>
</tr>
<tr><td>
Here is a screenshot of a program that was generated using Borland
JBuilder 5. The program is included in the <a href="Download.html">download tarball</a>,
in directory charva/java/src/example/java.<p>
<img src="images/java1.png" align=left>
<br clear=left><br>
The (Swing-compatible) source code for this program is in the
following files:
<p>
<ul>
<li><a href="src/java/AppFrame.java">AppFrame.java</a>
<li><a href="src/java/ProxyPanel.java">ProxyPanel.java</a>
<li><a href="src/java/AccountPanel.java">AccountPanel.java</a>
<li><a href="src/java/CookiePanel.java">CookiePanel.java</a>
</ul>
<p>
Merely by changing occurrences of "java.awt" to "charva.awt" and
"javax.swing" to "charvax.swing" in the source code, the program
displays the following output (captured on an xterm display). The program
also reacts in the same way to user keystrokes (try compiling the two versions
of the program and comparing their behavior. To switch between the tabbed panes
in the CHARVA version, you have to press the F1, F2 and F3 function keys).
<p>
<img src="images/charva1.png">
<br clear=left><br>
The (CHARVA version) source code for the program is in the following
files. It is also included in the download tarball, in directory
charva/java/src/example/charva.
<p>
<ul>
<li><a href="src/charva/AppFrame.java">AppFrame.java</a>
<li><a href="src/charva/ProxyPanel.java">ProxyPanel.java</a>
<li><a href="src/charva/AccountPanel.java">AccountPanel.java</a>
<li><a href="src/charva/CookiePanel.java">CookiePanel.java</a>
</ul>
<p>
</td></tr>
</table>
</td> <!-- End of right (content) panel -->
</tr>
</table>
<hr>
<i>Last updated: 28 June 2005</i>
</body>
</html>
|