Skip to main content

Swing primitives?

2 replies [Last post]
volkerj
Offline
Joined: 2004-06-24
Points: 0

First of all, I'd like to congratulate for your first release.

I am looking at JDNC from the perspective of a not-so-much data binding oriented person. In fact, I am working on some GUI in the context of project JXTA and am looking at JDNC with respect to using primitive Swing stuff, such as normal frames, dialogs, buttons etc. in the first place, yet with an option of using JDNC editors, tree tables [...] at a later stage.

So here is what I am currently thinking about: I saw on the JDNC site and in the introductory article that (JDNC Markup Language) "It does not include general tag support at the UI toolkit or graphics level and we are not recommending developers use JDNC's XML configuration for general purpose Swing development.". You are referring to other toolkits such as eNode and SwingML for that purpose.

Well, it seems as if JDNC is somewhat close to the eNode stuff - would I also be able to use their markup language with only the JDNC package in my classpath in order to create Swing primitives? If not, do you know an appropriate (open source) Object Realizer implementation in order to keep the number of dependencies small that would otherwise be increased by additional libs? It seems as if eNode itself does not (yet) provide any suitable download...

Thanks in advance,
Volker

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
zander
Offline
Joined: 2003-06-13
Points: 0

> I am looking at JDNC from the perspective of a
> not-so-much data binding oriented person. In fact, I
> am working on some GUI in the context of project JXTA
> and am looking at JDNC with respect to using
> primitive Swing stuff, such as normal frames,
> dialogs, buttons etc.
[...]
> do you know an appropriate (open source) Object
> Realizer implementation in order to keep the number
> of dependencies small that would otherwise be
> increased by additional libs?

Both of these are offered by the open source project UICompiler. It provides an extensive list of high-level widgets as well as a way to use those from an XML file; I recommend creating that XML file with a GUI builder.
See http://uic.sf.net

rameshgupta
Offline
Joined: 2004-06-04
Points: 0

> I am looking at JDNC from the perspective of a
> not-so-much data binding oriented person. In fact, I
> am working on some GUI in the context of project JXTA
> and am looking at JDNC with respect to using
> primitive Swing stuff...
>
> [snip]
> on the JDNC site and in the introductory article that
> (JDNC Markup Language) "It does not include general
> tag support at the UI toolkit or graphics level and
> we are not recommending developers use JDNC's XML
> configuration for general purpose Swing
> development.". You are referring to other toolkits
> such as eNode and SwingML for that purpose.
>
> Well, it seems as if JDNC is somewhat close to the
> eNode stuff - would I also be able to use their
> markup language with only the JDNC package in my
> classpath in order to create Swing primitives? If
> not, do you know an appropriate (open source) Object
> Realizer implementation in order to keep the number
> of dependencies small that would otherwise be
> increased by additional libs? It seems as if eNode
> itself does not (yet) provide any suitable
> download...

We designed the JDNC schema to support compound documents comprised of fragments from other markup languages. eNode provided the blueprints for the object realization framework used by JDNC. The object realizers from Sun and eNode share the same API, but some work is needed in both implementations to make them fully interoperable.

The rush to open source and JavaOne had kept this interoperability on the backburner. But, rest assured, we will be working on this as soon as possible. Once eNode makes a compatible tag library available, you will be able to intermix their markup language and JDNC markup language in the same document.