atian25
atian25

Reputation: 4256

does Griffon support command-line (no swing user interface) project

does Griffon support command-line project?

I don't want to show swing user interface

Upvotes: 1

Views: 124

Answers (2)

cdeszaq
cdeszaq

Reputation: 31280

One possible solution would be to have your griffon app have a "throwaway" view, and interact with the user via the command-line. As long as your machine has some sort of window environment, swing won't choke, and if you launch the app from the command line, you should still be able to access stdin and stdout.

Upvotes: 0

Andres Almiray
Andres Almiray

Reputation: 3281

Not at this point, no. Griffon requires an UI toolkit and relies on Swing as the default one. Efforts are being made to make sure the core of the framework remains UI toolkit agnostic, that way you can switch to a different toolkit in an easier manner. It would be possible to write a Charva based plugin for Griffon for example.

Upvotes: 1

Related Questions