JFCML - JFC/Swing XML Markup Language
Grok Headline matches for JFCML - JFC/Swing XML Markup Language
MRL (Markup Recipe Language)
MRL (Markup Recipe Language)
01/25/2004 08:35 PMWeb site updated
FML: Fiction Markup Language
FML: Fiction Markup Language
01/16/2004 11:33 AMWhen is someone going to come up with Fiction Markup Language
— an XML spec solely for annotating fiction? For example:
Take perhaps the greatest novel ever written: Ian Fleming's 1953
classic "Casino Royale." Let's break this down from
a big chunk of text to make up something more usable.
Obviously, you could mark the chapters and section numbers, but
let's go further into the actual content of the narrative. Begin by
surrounding all spoken text with tags. For example:
<quote speaker="James Bond">My
name is Bond, James Bond</quote>
Perhaps you can have another attribute for "target" to identify to
whom he's speaking. Then I could do an XPath query to find everything
James Bond said to Vesper Lynd in the entire book.
And how about locations? Surround passages with their physical
location, like the casino floor, Bond's hotel room, etc. (where
appropriate — wouldn't work in all situations). I could then
use XPath to find all the unique locations in the book (this would be
great for the globe-hopping James Bond novels).
Identify "action" passages and mark them. How about the death of a
character? Mark them so I can immediately find out where Le Chiffre
was killed and read how it happened.
Introductions of characters are another thing. Mark the first
appearance of each character so if I can't remember who someone is, I
can go back and find where they first appeared and who they are.
I'm reading Tom Clancy's "Politika" right now, and
I can hardly keep track of everyone. It'd be handy to be able to
print a "report" showing who everyone is. (A good ebook client
implementation of this would know what page the reader was on and not
report anything past that page as to not spoil anything.)
Maybe mark the beginning and ending of pages as they appeared in
the original publication. And have some way for an expert to insert
commentary about the text.
James Bond novels are one thing, but imagine if someone did this
for, say, "War and
Peace". It would be like Cliffs Notes embedded in the
text of the book.
There's unexplored potential here. I can't be the first person to
think of this. (And another question: is this just an attempt to
completely suck the soul right out of fiction? Should we just leave
it the hell alone?)
Click here to comment on this entry
Hate-pertext Markup Language
Hate-pertext Markup Language
04/09/2004 04:10 PMThere are quite a few conspiracy theories flying around the Net
regarding Lockergnome's most recent "White Album" redesign. Blogger
reaction? Overwhelmingly negative. Gnomie reaction? Overwhelmingly
positive. Bottom line? We're still working on it - as well as a
billion other things. I'm not asking for slack, but jumping Jesus on a
pogo stick - there are only so many hours in the day. We're doing our
best here, and appreciate the constructive criticism and code
suggestions. Hell, maybe we should "open source" the SOB....
ELML - eLesson Markup Language
ELML - eLesson Markup Language
03/30/2005 09:31 AMBeta-Support of IMS Content Package
W3c Gets Behind Speech Synthesis Markup
Language
W3c Gets Behind Speech Synthesis Markup
Language
09/09/2004 02:44 PMCRM Assist Sep 9 2004 6:27PM GMT
Annotated Gel Markup Language Project
Annotated Gel Markup Language Project
01/29/2004 03:02 PMResearch Article Published
Conflict Resolution Markup Language
Conflict Resolution Markup Language
11/07/2003 02:07 AMEquiforum and CRML
PHP Template Markup Language (ztml)
PHP Template Markup Language (ztml)
05/08/2004 10:36 AMFirst alpha version released
Recipe Exchange Markup Language
Recipe Exchange Markup Language
03/22/2005 06:23 PMDohh, reml-ref exe property says v0.5, but it is v0.6
Requirements for the Ink Markup Language
Published
Requirements for the Ink Markup Language
Published
01/22/2003 02:35 PM22 January 2003: The Multimodal Interaction Working Group has released
Requirements for the Ink Markup Language as a W3C Note. This data
format represents ink entered with an electronic pen or stylus, and is
used to input and process handwriting, gestures, sketches, music and
other notational languages. Read about the Multimodal Interaction
Activity. (News archive)
Systems Biology Markup Language (SBML)
Systems Biology Markup Language (SBML)
09/23/2004 03:18 AMSBMLToolbox 1.0.2 Released
Ink Markup Language Working Draft
Published
Ink Markup Language Working Draft
Published
03/06/2004 01:50 AM2004-02-23: The Multimodal Interaction Working Group has released a
second Working Draft of the Ink Markup Language (InkML). The InkML
data format is used to represent ink entered with an electronic pen or
stylus. Ink-aware Web applications can process and exchange
handwriting, gestures, sketches, music and other notational languages.
Visit the Multimodal Interaction home page. (News archive)
Speech Synthesis Markup Language Is a
W3C Recommendation
Speech Synthesis Markup Language Is a
W3C Recommendation
09/08/2004 11:00 AM2004-09-08: The World Wide Web Consortium today released the Speech
Synthesis Markup Language (SSML) Version 1.0 as a W3C Recommendation.
With the XML-based SSML language, content authors can generate
synthetic speech on the Web, controlling pronunciation, volume, pitch
and rate. "SSML builds on the work of the pioneers in speech synthesis
to provide application developers with a powerful and flexible means
to deliver a high quality mix of synthetic and pre-recorded speech as
part of interactive voice response services," said Dave Raggett
(W3C/Canon). Read the press release, testimonials and implementation
report and visit the Voice Browser home page. (News archive)
Speech Synthesis Markup Language Last
Call Published
Speech Synthesis Markup Language Last
Call Published
12/02/2002 07:24 PM2 December 2002: The Voice Browser Working Group has released a Last
Call Working Draft of the Speech Synthesis Markup Language Version
1.0. Comments are welcome through 15 January 2003. With this XML-based
language, content authors can generate synthetic speech on the Web,
controlling pronunciation, volume, pitch, and rate. Read about the
Voice Browser Activity. (News archive)
Speech Synthesis Markup Language Is a
W3C Candidate Recommendation
Speech Synthesis Markup Language Is a
W3C Candidate Recommendation
12/18/2003 06:05 PM2003-12-18: W3C is pleased to announce the advancement of the Speech
Synthesis Markup Language Version 1.0 to Candidate Recommendation.
Comments are welcome through 18 February 2004. With this XML-based
language, content authors can generate synthetic speech on the Web,
controlling pronunciation, volume, pitch, and rate. Read about the
Voice Browser Activity. (News archive)
Speech Synthesis Markup Language Is a
W3C Proposed Recommendation
Speech Synthesis Markup Language Is a
W3C Proposed Recommendation
07/15/2004 01:32 PM2004-07-15: W3C is pleased to announce the advancement of the Speech
Synthesis Markup Language (SSML) Version 1.0 to Proposed
Recommendation. Comments are welcome through 27 August 2004. With the
XML-based SSML language, content authors can generate synthetic speech
on the Web, controlling pronunciation, volume, pitch and rate. Read
about the Voice Browser Activity. (News archive)
Features: Eat Drink Feel Good Markup
Language
Features: Eat Drink Feel Good Markup
Language
03/14/2005 05:44 PMAaron Straup Cope describes the pros and cons of making his
Eatdrinkfeelgood Markup Language more RDF compatible.
Speech Synthesis Markup Language (SSML)
Is a W3C Candidate Recommendation
Speech Synthesis Markup Language (SSML)
Is a W3C Candidate Recommendation
12/19/2003 06:24 PMXMLMania.com Dec 19 2003 4:20PM ET
Data Center Markup Language finds home
in OASIS
Data Center Markup Language finds home
in OASIS
08/30/2004 05:17 PMA proposed standard to enable integration, automation and better
management of data center components this week will begin development
under the direction of a new standards body - the Organization for the
Advancement of Structured Information Standards.
Speech Synthesis Markup Language (SSML)
Version 1.0 Advances to W3C
Recommendation
Speech Synthesis Markup Language (SSML)
Version 1.0 Advances to W3C
Recommendation
09/11/2004 10:38 AMXMLMania.com Sep 11 2004 1:48PM GMT
Magnetar Appoints Virtual Reality Markup
Language (VRML) Inventor to its Advisory
Board
Magnetar Appoints Virtual Reality Markup
Language (VRML) Inventor to its Advisory
Board
06/17/2004 11:39 AMBC Technology Jun 17 2004 4:17PM GMT
pendulum continues to swing swing back
to the left
pendulum continues to swing swing back
to the left
06/02/2004 02:27 AM
pendulum
continues to swing back to the left Meet Congresswoman
Stephanie Herseth (D-SD)
JFCML 0.9.6.1 (Default branch)
JFCML 0.9.6.1 (Default branch)
06/22/2005 02:25 AM

JFCML (JFC/Swing XML Markup Language) is an XUL
and embedded scripting solution for Java. It is a
markup language which supports not only AWT and
Swing, but any class accessible to Java's
ClassLoader. JFCML additionally offers scripting
support through the Bean Scripting Framework,
enabling the user to dynamically choose from most
major scripting languages. JFCML also offers its
own scripting solution, JFCMLScript. This is a
tiny yet powerful script evalution service which
is also applet-friendly. Using JFCML, the user can
construct an entire Java application without
writing a single line of Java.
License: Academic Free License (AFL)
Changes:
This version is an emergency re-release. Due to an
oversight, JFCML was not being built for 1.4
compliance as documented. This problem may have
affected several previous versions. In the future,
JFCML will be tested using JRE version 1.4.1_01.

Hop Off And Swing
Hop Off And Swing
04/01/2005 08:32 PMElectric New Paper Apr 2 2005 12:57AM GMT
Markup-TreeNode-1.1.0
Markup-TreeNode-1.1.0
11/12/2003 06:50 PMMarkup-Tree-1.1.0
Markup-Tree-1.1.0
11/12/2003 06:50 PMSimple markup
Simple markup
03/11/2003 11:53 AM
Timothy
Appnel: I have a new appreciation for the elegeance and
simplicity of XML markup. Not that I didn't have one before its
just grown the size of the Empire state building and illuminated in
neon.
Obviously, I'm currently embarking on a
similar
mission, and share Tim's appreciation for XML. My goals,
however, are much lower than Tim's: I'm not trying to create a full
markup language. I'm applying 80/20 whenever I can: e.g.,
unordered lists are enough. The times when full functionality
is required, I'll personally use full XHTML.
I'm currently looking into
textile
for inspiration.
Markup in titles in RSS?
Markup in titles in RSS?
12/13/2003 08:14 AM
The RSS 2.0
spec and its predecessors may not say clearly enough if you can or
can't include markup in titles. But I don't think you should
include markup in titles. Titles are like file names (not exactly of
course). They are a happy medium between software and people. Both
must be able to read them and make sense of them, in all contexts, and
do so easily. While it seems reasonable that a description may contain
markup, it also seems reasonable that a title should not. So, if I
were writing a validator for RSS, and encountered markup in a title,
I'd warn the author that many processors would not be happy about this
and it would be safer to strip the markup from the title.
Disclaimer: Scripting News is a weblog, not a spec. If you
interpret it as a spec you will be making a mistake. I think I've said
this quite a few times, but a few people still treat it as if I were
writing a spec here. Not so. And not fair.
A postscript. I went back to see what the spec actually says,
and it turns out it's not really a problem with the spec, rather with
my recollection of what the spec says. Scroll to elem
ents of item. It says descriptions may contain entity-encoded
HTML. It doesn't say that a title may. So if that's the biggest
problem people can find with the spec (which many were flaming about
when I wrote it, it's not like they offered any help, btw) then it's a
pretty damned good spec if you ask me.
Q: Markup format?
Q: Markup format?
03/14/2005 05:10 PM Q: Which markup format do you use when
posting?
Both Textile and Markdown are installed and I flip between them.
When I want to post a lot of code without hassle I'll use Markdown
because it seems smarter about that kind of thing. Most of the time,
however, I want to just write so I'll use Textile; I find that it's a
quick and mildly-intuitive way to access the various classes in my
stylesheet for the myriad of things I do within this little block of
space. Each has a purpose, so each gets used. I rarely enter raw
HTML, and when I do it's typically to get
around something broken in either markup format.
Et toi?
This entry was in Textile, for those keeping score. It
is much easier to enter p(ps). or p(note). rather than <p
class="ps"> or <p class="note">. 
XAML and... Swing
XAML and... Swing
12/30/2003 01:17 AMLet's see. There's this new language+API. It is, in theory
platform independent. It's pretty high level. Below the high-level
description, it runs on top of a virtual machine. It's verbose. Some
people say it will never work.
Gotta be Swing, right?
How about XAML?
On Saturday Sam commented on a XAML example.
He makes a number of good points. Which jump-started earlier
XAML-related musings.
XAML will be Windows-only, so in that sense the comparison is
stretched. But this is a matter of practice, in theory an XML-based
language could be made portable (when there's a will there's a way).
XAML was compared a lot to Mozilla's XUL, and rightly so, but I think
there are some parallels between it and Swing as well.
One big difference that XAML will have, for sure, is that it will
have a nice UI designer, something that Swing still lacks. On the
other hand, I think that whatever code an automated designer generates
will be horribly bloated. And who will be able to write XAML by hand?
And: the problem of "bytecode protection" in Java comes back with
XAML, but with a vengeance. How will the code be protected?
Obfuscation of XML code? Really? How would it be validated then? And
why hasn't anyone talked about this.
And another thing: Sun has shown in the past few years that they've
taken a liking to countering Microsoft announcements with some of
their own. ie., MS comes out with Web services, they come out with web
services. MS does X, Sun does it too, but in Java. One wish: that Sun
would ignore XAML and just continue improving Swing, and create a
simple, good UI designer for Swing. Supposedly Project Rave will do
this... but here's hoping there won't be any course corrections simply
to show up Microsoft. Please, pretty please, Sun.
On a related note, Robert says
this regarding XAML:
[...] you will see some
business build two sites: one in HTML and one in XAML. Why? Because
they'll be able to offer their customers experiences that are
impossible to deliver in HTML.
Come on, Robert, these
days, when everyone's resources are stretched to the limit, when CIOs
want to squeeze every possible drop of code from their people, when
everyone works 60-hour weeks as a matter of common practice, are you
seriously saying that companies will have
two teams to develop
a single website? Is this Microsoft's selling point? "Here, just
retrain all of your people, and double the size and expense of your
development team, and you'll be fine."
Of course not. Most companies will have one team, not two. Hence,
logically, either people will use it or won't, without a lot of middle
ground in between. That leaves two possibilities: 1) XAML will be
niche and never really used a lot (think ActiveX, or, hey, even Java
Applets!) or 2) XAML will kill HTML.
Which one do you think Microsoft is betting on?
Weird Swing Bug
Weird Swing Bug
06/22/2004 11:54 PMWe ran into a weird issue with Swing today at work. The small class
below reproduces this. 1 import javax.swing.*; 2 import
javax.swing.event.TreeModelEvent; 3 import
javax.swing.event.TreeModelListener; 4 import
javax.swing.tree.DefaultMutableTreeNode; 5 import
javax.swing.tree.DefaultTreeModel; 6 7 public class Blah extends
JFrame implements TreeModelListener { 8 9 private JTree tree; 10 11
public Blah() { 12 setSize(150, 150); 13
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 14
DefaultMutableTreeNode root... (294 words)
swt and swing, cont'd.
swt and swing, cont'd.
01/06/2004 08:01 AMYesterday Russ was
ranting (his term :)) on how Sun was botching it by not getting
behind SWT, because SWT is, in his view, better than Swing. I have
written about both a few times before, more recently in this
short review of my initial impressions of developing with SWT, and
earlier here
, here
and here
among others. Specifically on what Russ is saying I had a couple of
things to add. One is that, although I'm obviously partial on this :),
I think that clevercactus shows that Swing interfaces need not feel
out of place, or be slow, or whatever. And I think it looks better
than LimeWire too :). IDEA is also a fine example IMO. However, it's
true that all of that is subjective and that for hard-core Windows
users there are small differences. For power users in
particular the differences might indeed be difficult to accept. The
situation is much better in other platforms though.
That aside, there is the other matter that Russ mentions, that of
Sun not joining
the Eclipse consortium. The main reason given for this is that,
for all its platform appeal Eclipse is still, at heart, an IDE
toolkit. If you doubt that's true, spend some time perusing the
Eclipse APIs, and you'll notice how many times you have to use
components from within the IDE package rather than "platform" packages
(e.g., "org.eclipse.swt"). Restated, what I mean is that the
boundaries between platform and IDE APIs are not clear at all, and I
guess that some people would say that's precisely the point, Eclipse
is both an IDE and a platform, and that's fine. Fine indeed, but what
does that matter? Well, keep in mind that Sun has NetBeans to take
care of. With its own community, and plugins, and additional tools,
and so on. Were Sun to ditch NetBeans in favor of Eclipse as a
platform, they would have to a) port all sorts of plugins and code to
the new platform, not to mention "convert" their community, both of
open source developers and third party developers, to Eclipse. This is
by no means impossible, but it's not easy either.
Then there is the small matter of SWT. If Sun joined Eclipse, SWT
would have to be included in the JDK would it not? Sun would have to
maintain and release simultaneously three different windowing toolkits
for each release: AWT, Swing, and SWT. That doesn't sound good either.
And while I like some things of SWT, ditching Swing completely is to
me not an option.
Why?
First, Swing does run on every single platform that the full
JDK runs on. For example, some users today are running clevercactus on
OS/2. That would be impossible if cc were written in SWT.
Second, Swing is, for all its complexity (or perhaps because of it)
and incredibly rich and flexible toolkit. Much more so than SWT.
Surely this will change as SWT evolves, but that's the reality at the
moment. With SWT you are forced to write custom components more often
than with Swing, as I discovered when I worked for about a week
replicating the clevercactus UI using SWT.
And, finally (although this is a small matter compared to the two
above), SWT still requires release of resources "by hand". I find this
a horrible step back. Moreover, debugging becomes more difficult.
Something might fail not just on your java code, not just on the
SWT-to-Native code (say, if you're running it on Windows), but
something might also fail at the Native component level. Suddenly bugs
have to be tracked on three levels. SWT will be buggy for a while,
particularly on non-Win32 platforms (Win32 support is pretty good).
And Native errors are very difficult to pin down.
Please note, these are not reasons why "Swing is better than SWT"
but reasons why I think Swing can't be discarded at the moment and for
some time to come. And that puts Sun in a difficult position.
Ideally, yes, Sun would join Eclipse, ditch AWT in favor of SWT
keeping the latter as an alternative to Swing, plus using something
like the SWTSwing
project to bridge between both worlds. But for the moment, staying
out of Eclipse might have been a good choice by Sun to avoid creating
even more confusion.
Swing State
Swing State
06/22/2004 03:38 PM
In the swing states,
it's not just
the economy anymore, stupid. "The more you talk to West
Virginians, the more you stop wondering how Democrats lost the state
four years ago and start wondering how they ever won it."
Serenity through markup (ADTmag.com)
Serenity through markup (ADTmag.com)
10/02/2002 10:55 AMKeep 'em separated: Layout and markup.
Keep 'em separated: Layout and markup.
10/28/2003 11:06 PMSo, my idea was to follow the nice development models that often exist
at a platform level in UI architecture and apply them to the view
components of a design pattern - particularly with an focus on
extensibility. But I...
W3C Markup Validator Upgraded
W3C Markup Validator Upgraded
05/06/2004 09:47 PM2004-05-06: W3C is pleased to announce an upgrade to the W3C Markup
Validation Service. The new release is easier to use and install. It
features new documentation and navigation, and offers helpful
explanations and recovery mechanisms instead of fatal errors. Managed
by a team of volunteers and the W3C Quality Assurance Activity, and
supported by a large community, this validator is the single most
popular resource on the W3C Web site. Read the announcement. (News
archive)
A myriad of markup systems
A myriad of markup systems
04/12/2004 11:15 PMIt's hard to avoid the legions of custom markup systems out there
these days. Every Wiki has it's own syntactical quirks, while packages
like Markdown, Textile, BBCode (in
dozens of variants), reStructuredText
offer easy ways of hooking markup conversion in to existing
applications. When it comes to being totally over-implemented and
infuratingly inconsistent, markup systems are rapidly catching up with
template packages. Never one to miss out on an opportunity to reinvent
the wheel, I've worked on several of each ;)
My most recent markup handling attempt has just been published as
part of my SitePoint article on
Bookmarklets (cl
iché). It's a structured markup language in a bookmarklet:
activate the bookmarklet to convert the text in any textarea on a page
to XHTML. The syntax is ridiculously simple, and
serves my limited needs just fine:
= This is a header
Here is a paragraph.
* This is a list of items
* Another item in the list
Converts to:
<h4>This is a header</h4>
<p>Here is a paragraph.</p>
<ul>
<li>This is a list of items</li>
<li>Another item in the list</li>
</ul>
The algorithm is simple, and easily portable to any language you
care to mention:
- Normalise newlines to \n, for cross-platform consistency.
- Split the text up on double newlines, to create a list of
blocks.
- For each block:
- If it starts with an equals sign, wrap it in header tags.
- If it starts with an asterisk, split it in to lines, make each a
list item (stripping off the asterisk at the start of the line if
required) and glue them all together inside a
<ul>.
- Otherwise, wrap it in a
<p> tag
provided it doesn't have one already.
- Glue everything back together again with a couple of newlines, to
make the underlying XHTML look pretty.
The bookmarklet comes in two flavours: Expand HTML
Shorthand (the full version) and Expand HTML Shorthand
IE, which loses header support in order to fit within IE's rippling 508 character limit.
A more capable bookmarklet could be built using the import-script-stub
method described in my
article, but the implementation of such a thing is left as an
exercise for the reader (I've always wanted to say that).
Incidentally, there's a very common bug in markup systems that
allow inline styles that proves extremely difficult to fix: that of
improperly nested tags. Say you have a system where
*text* is bold and _text_ is italic; what
happens when the user enters
_italic*italic-bold_bold*? Most systems (and that includes Markdown, Textile and my
home-rolled Python solution) use naive regular expressions for inline
markup processing and will output vadly formed XHTML: <em>italic<strong>italic-bold</em>bold
</strong>. To truly solve this problem requires a
context-sensitive parser, which involves an unpleasantly large amount
of effort to solve what looks like a simple bug.
Swing and a Miss for Asteroid
Swing and a Miss for Asteroid
08/28/2004 06:11 AMWired News Aug 28 2004 9:42AM GMT
Opponents Take Swing at GMO Grass
Opponents Take Swing at GMO Grass
04/10/2004 05:10 AMLawn-products company Scotts is testing a bioengineered version of a
creeping grass favored by golf courses. The company claims the
Roundup-resistant grass is unlikely to spread, but a surprising
assortment of challengers disagree.
Grok Description matches for JFCML - JFC/Swing XML Markup Language
GrokA matches for JFCML - JFC/Swing XML Markup Language
JFCML - JFC/Swing XML Markup Language