var fDesc=new Array();
fDesc[0] = "CookSwt is a library which builds Java SWT GUI from XML documents.
Features:
-All SWT components can be configured. Resources (Image, Font, Color, Cursor) are automatically disposed when widgets using them are disposed. Run the demo on your local machine with "-ea" (enable assertion) for disposal messages.
-All SWT Layouts. Any complex layouts can be created.
-All SWT Listeners.
-Simple custom dialog creations with .
-Small things, such as DROP_DOWN ToolItem with DROP_DOWN Menu, adding control to a CoolItem or ToolItem and set the size at the same time, auto-relayout Shell when a CoolBar resizes, and auto-relayout wrapped ToolBar.";
function tShowHide(id, show)
{
var s = document.getElementById("desc");
if ((s.innerHTML.length<=212 || show==1) && show!=2)
{
s.innerHTML = fDesc[id];
if (document.getElementById('m1'))
document.getElementById('m1').style.display='none';
if (document.getElementById('m2'))
document.getElementById('m2').style.display='none';
if (document.getElementById('more_txt'))
document.getElementById('more_txt').style.display='inline';
}
else
{
s.innerHTML = '';
}
}